← All problemsSign in

A - Bob and Strings

Alice and Bob are playing with strings. In this game, Alice gives Bob two strings of the same size that consist of uppercase and lowercase Latin letters. Bob has to compare both of the strings $lexicographically$. Here, the letters' case does not matter, an uppercase letter is considered equivalent to the corresponding lowercase letter. Help Bob to perform the comparison. ### Input Each of the f

HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17

CodeSearch Tutor

Hints, not spoilers — it won’t hand over the full solution unless you insist.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start