
Im doing all in Delphi, but I don't know how to convert delphi into Pascal?
Can anyone tell he how to do that?

Da li treba poslati source ili exe file???

You need to submit .pas ( source ) file.

when I submit my solution it is compiled but in
Testing the given tests it writes Exit Code is not Zero and NOT ACCEPTED!
I don't know what's wrong :(

could you paste here code you are trying to submit ?
In your profile, it says you haven't submitted anything ...

@mfolnovic:
Well he knows about the back function xD

Code? You mean to paste my solution?

No text files. You read and write to standard input & output!

You need to run delphi console application and write your program there like you'd write in ordinary pascal... And one more thing, do not read from file, you don't even have a file name to read from... Just type normal readln and writeln to read and to write...

Oh, I just didn't know that the program doesn't have to read from text file :D
I submited my solution now :)
Thanks guys :)