Is GOTO allowed for the Online Judge?.

Write here if you have problems with your Pascal source code

Moderator: Board moderators

Post Reply
User avatar
_.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._ » Sun Mar 21, 2004 1:58 am

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 » Sun Mar 21, 2004 4:59 am

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"

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

Oke.

Post by _.B._ » Sun Mar 21, 2004 6:12 am

Thanks anupam!.
I'll try them then.

_.B._

User avatar
little joey
Guru
Posts: 1080
Joined: Thu Dec 19, 2002 7:37 pm

Post by little joey » Sun Mar 21, 2004 3:00 pm

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 » Mon Mar 22, 2004 10:14 am

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

Post Reply

Return to “Pascal”