RE03- Editorial

Author: Charu Kalra
Tester: Manisha Singh
Editorialist: Arun Kumar

CONTEST LINK:

https://www.codechef.com/RVEN2017

PROBLEM LINK:

https://www.codechef.com/RVEN2017/problems/RE03

DIFFICULTY:

SIMPLE

PROBLEM:

Finding the problem is the first task based on the input, output format and exe file provided. Then think the logic and code the same.

QUICK EXPLANATION:

The task in this problem is to find if input string is anagram or not. An anagram of a string is another string that contains same characters, only the order of characters can be different. For example, “abcd” and “dabc” are anagram of each other.

EXPLANATION:

After having number of test cases as input, each test is to be inputted and processed. Each test case contains a string. Check if string is anagram or not. If yes print true followed by number of consonants in the string else print false.

AUTHOR’S SOLUTIONS:

Author’s solution can be found here

Exe File:

Exe file for the problem can be found here