Submission details
Task:Lukujono
Sender:3lv11ra
Submission time:2025-11-09 22:28:17 +0200
Language:text
Status:READY
Result:0
Feedback
groupverdictscore
#10
Test results
testverdicttimescore
#10.00 s0details

Code

WHILE X != 1
    PRINT X
    CLEAR A
    INCREASE A
    REPEAT X TIMES (
        INCREASE A
    ) 
    IF X on parillinen THEN
        X = X / 2
    ELSE
        X = 3*X + 1
END WHILE
PRINT 1

Test details

Test 1 (public)

Verdict:

input
(empty)

correct output
(empty)

user output
WHILE X != 1
    PRINT X
    CLEAR A
    INCREASE A
    REPEAT X TIMES (
...

Feedback: Error: invalid command WHILE