https://www.codechef.com/CLUE2021/problems/CLUEC001

PROBLEM LINK: Contest Page | CodeChef

Practice

Author: Setter’s name

Tester: Tester’s name

Editorialist: Editorialist’s name

DIFFICULTY : BEGINNER

PREREQUISITES:

Nill

PROBLEM:

As the world continues its chaotic descent into Mayhem, we are the Mayday! Thank you for being a part of big T.

Now, print the word that occurs most in the image above.

QUICK EXPLANATION:

Observe which word occurs most in the image given and print it.

EXPLANATION:

A picture would be given in which many words will be there repeated and otherwise like a collage. The students need to observe which word occurs the most in that picture and write the code to print that respective word.

SOLUTIONS:

Setter's Solution

++++++++ [ > ++++++++++ < - ] > ++++ .

++++++ [ > ++++++++++ < - ] > +++++ .

+++++++ [ > ++++++++++ < - ] > +++++ .

++++++++ [ > ++++++++++ < - ] > +++ .

+++++++ [ > ++++++++++ < - ] > ++ .

++++++ [ > ++++++++++ < - ] > +++++ .

+++++++ [ > ++++++++++ < - ] > +++++ .

+++++ [ > ++++++++++ < - ] > .

+++++ [ > ++++++++++ < - ] > --.

Tester's Solution

Same Person

Editorialist's Solution

Same Person