← Back to topics
Topic

I wish to know

S
SonicShadow
Im doing all in Delphi, but I don't know how to convert delphi into Pascal?
Can anyone tell he how to do that?
S
SonicShadow
Da li treba poslati source ili exe file???
A
Al3kSaNdaR
You need to submit .pas ( source ) file.
S
SonicShadow
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 :(
m
mfolnovic
could you paste here code you are trying to submit ?
In your profile, it says you haven't submitted anything ...
A
Amtrix
@mfolnovic:
Well he knows about the back function xD
S
SonicShadow
Code? You mean to paste my solution?
A
Al3kSaNdaR
To convert delphi to pascal just type this ->



program BlaBlaBla;

{$APPTYPE CONSOLE}

uses

SysUtils;

A
Al3kSaNdaR
No text files. You read and write to standard input & output!
n
nikola
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...
S
SonicShadow
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 :)