Is GOTO allowed for the Online Judge?.

Write here if you have problems with your Pascal source code

Moderator: Board moderators

Post Reply
_.B._
Experienced poster
Posts: 160
Joined: Sat Feb 07, 2004 7:50 pm
Location: Venezuela
Contact:

Is GOTO allowed for the Online Judge?.

Post by _.B._ »

Greetings!.
I wonder if I can use GOTO and LABEL for my programs.
That'll help.
Thanks in advance.

_.B._
anupam
A great helper
Posts: 405
Joined: Wed Aug 28, 2002 6:45 pm
Contact:

Post by anupam »

just write a program.
if you face compile error then not allowed. otherwise you can use it.
--
Simple Solution.
--
Anupam
"Everything should be made simple, but not always simpler"
_.B._
Experienced poster
Posts: 160
Joined: Sat Feb 07, 2004 7:50 pm
Location: Venezuela
Contact:

Oke.

Post by _.B._ »

Thanks anupam!.
I'll try them then.

_.B._
little joey
Guru
Posts: 1080
Joined: Thu Dec 19, 2002 7:37 pm

Post by little joey »

Shure you can.
You can't use GOSUB and calculated GOTO, tho :cry:

Wonder when the judges add BASIC and FORTRAN compilers. Probably when their card reader is fixed...
User avatar
yahoo
Learning poster
Posts: 93
Joined: Tue Apr 23, 2002 9:55 am

Post by yahoo »

I think goto is allowed. I had used them at the early stage of programming and probably got accepted.
Post Reply

Return to “Pascal”