ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1711. Code Names

If WA 25
Posted by killerDJO 11 Jul 2011 20:53
String comparison:
s1="aa";
s2="aaa";

s1<s2==true;
s2>s1==false;
Re: If WA 25
Posted by hatred 7 Aug 2011 20:58
omg s2>s1!=s1<s2?
Re: If WA 25
Posted by Ignas 9 Aug 2011 00:39
Don't know about you, but for me it's like this :)

"aa"  > "aaa"   FALSE
"aaa" < "aa"    FALSE
"aa"  < "aaa"   TRUE
"aaa" > "aa"    TRUE

Standart C++ operation. Maybe you're using other language and you have this problem?

Edited by author 09.08.2011 00:39