Faculty of Engineering and Mathematical Sciences 
Not logged in (login)

help2200


This forum is provided to promote discussion amongst students enrolled in Data Structures and Algorithms (CITS2200).
 
Options:
RSS cloud
Jump to:

Question regarding CSSubmit output

3 of 418 articles shown, currently no other people reading this forum.
photo
From: ANONYMOUS
Date: Sun 22nd Mar 2020, 6:22pm
Actions: 
        Login-to-reply

 

I keep getting this error when submitting, does anybody know why it's occurring?

---

!Analysis halted: Illegal code: "print"

Your submission was not successful on this occasion.
Please try again when you've addressed this problem.
Execution stack trace (if any) follows.

java.lang.IllegalAccessException: Illegal code: "print"
	at CompiLoader.checkIllegalStrings(CompiLoader.java:56)
	at CompiLoader.checkFiles(CompiLoader.java:40)
	at CompiLoader.checkFiles(CompiLoader.java:25)
	at Lab2.main(Lab2.java:27)

Question regarding CSSubmit output

photo
From: ANONYMOUS
Date: Wed 25th Mar 2020, 12:26pm
Actions: 
        Login-to-reply

 

Bit late to the party, but as far as I can tell the automated tester does not 
implement "System," and therefore any output (such as print) isn't possible. Hopefully 
someone more clued in has an answer, though.

Question regarding CSSubmit output

photo
From: Ethan P.
Date: Wed 25th Mar 2020, 6:30pm
Actions: 
        Login-to-reply

 

ANONYMOUS wrote:

> Bit late to the party, but as far as I can tell the automated tester does not 
> implement "System," and therefore any output (such as print) isn't possible. Hopefully 
> someone more clued in has an answer, though.

 From what I know this is correct. 
This Page


Program written by: [email protected]
Feedback welcome
Last modified: 11:27am Sep 21 2020