Assignment 03 - Weblab Question

franzose
BASIC-Programmierer
BASIC-Programmierer
Beiträge: 146
Registriert: 9. Okt 2009 00:08

Assignment 03 - Weblab Question

Beitrag von franzose »

Hello,

I am again experiencing some weird issues for the current assignment. I implemented a solution for the first exercise "partition" without compilation errors and when running the hidden specifications I get 4/4 as a test score .... but for the own public test the console outputs the following:
Status: RunningFailure
Test score: 0/-1
Do you have any ideas on how to solve the problem or do you know the cause? Any help will gladly be appreciated!

Dennis Albrecht
Sonntagsinformatiker
Sonntagsinformatiker
Beiträge: 222
Registriert: 4. Okt 2010 18:15

Re: Assignment 03 - Weblab Question

Beitrag von Dennis Albrecht »

This time the answer is just as simple as curious:

WebLab requires the first line of a (public) test to be:

Code: Alles auswählen

//test: Test
(This is the result of my own investigations from last semester as I also had such problems while running tests.)

And as this comment is missing in the given test, it does not compile.

(Some say, comments (should) have no effect to programs ...)

Greets Dennis

franzose
BASIC-Programmierer
BASIC-Programmierer
Beiträge: 146
Registriert: 9. Okt 2009 00:08

Re: Assignment 03 - Weblab Question

Beitrag von franzose »

Thanks, I would have never been able to find this out alone .... now it works like charm!

Antworten

Zurück zu „Archiv“