Submission details
Task:Lukujono
Sender:Mariia
Submission time:2025-11-03 18:04:03 +0200
Language:text
Status:READY
Result:0
Feedback
groupverdictscore
#10
Test results
testverdicttimescore
#10.00 s0details

Code

INCREASE N INCREASE N INCREASE N # constant, N=3
INCREASE M INCREASE M INCREASE M INCREASE M INCREASE M INCREASE M INCREASE M INCREASE M INCREASE M INCREASE M INCREASE M INCREASE M INCREASE M INCREASE M INCREASE M INCREASE M INCREASE M INCREASE M INCREASE M INCREASE M
INCREASE F # flag, F=1 while we need to continue
REPEAT M TIMES (
	REPEAT F TIMES (
		CLEAR Y
		REPEAT X TIMES (
			INCREASE Y
		)
		CLEAR D # result
		CLEAR E # E=1 if not divisible by 2
		CLEAR G
		INCREASE G # flag, G=1 while we need to continue
		REPEAT M TIMES (
 			
 			CLEAR G
 			REPEAT X TIMES (
 				CLEAR G
 				INCREASE G
 			)
		)
		PRINT X
	)
	# subtract 1 from X, result in Z
	REPEAT X TIMES  (
		CLEAR Z
		REPEAT Y TIMES (
			INCREASE Z
		)
		INCREASE Y
	)
	# if X=1, F=0, so no more action
	CLEAR F
	REPEAT Z TIMES (
		CLEAR F
		INCREASE F
	)
)

Test details

Test 1 (public)

Verdict:

input
(empty)

correct output
(empty)

user output
INCREASE N INCREASE N INCREASE...

Feedback: Error: invalid command