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 1102. Strange Dialog

Directive $H+ allows strings to be 1000000000 and more length. Can I use it and then just do next: delete(s,pos('one',s),3)? Can I? Help, please.
Posted by Alex Stoff 16 Oct 2005 19:52
I just read it:

For i:=1 to n do
Begin
  Readln(s);
  s:=dialogue(s);
  If length(s)>0 then Writeln('NO')
                 else Writeln('YES');
End;

Show me my mistake...

I have MLE.

Thanks a lot.

Edited by author 16.10.2005 19:54