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

Common Board

Just a comment... About two of my compilation errors....
Posted by Sergey V.Kviat 3 May 2001 22:45
I submitted a program 1008. Two times I got compilations
errors. The code that was 'bad' (Pascal):

Var
  S:String;

.....
Begin
.......
  Dec(S[0]); { Decrements length of the string S }
......
End.

Delphi don't like this, you see...
After changing 'Dec(S[0])' to 'Delete(S,length(S),1)' the
program was accepted!