Submission details
Task:Lukujono
Sender:Luhpossu
Submission time:2025-10-30 08:27:55 +0200
Language:text
Status:READY
Result:36
Feedback
groupverdictscore
#1ACCEPTED36
Test results
testverdicttimescore
#1ACCEPTED0.00 s36details

Code

INCREASE T
INCREASE T
INCREASE T
INCREASE T
INCREASE T
INCREASE T
INCREASE T
INCREASE T
INCREASE T
INCREASE T
INCREASE T
INCREASE T

PRINT X

# START Check if X == 1

CLEAR U 

# END Check if X == 1

CLEAR U 
CLEAR R
REPEAT X TIMES (
    REPEAT U TIMES ( CLEAR U
        CLEAR R
        INCREASE R
    )

    INCREASE U
)

REPEAT R TIMES (
REPEAT T TIMES (
    REPEAT T TIMES (
        REPEAT R TIMES (
        # START Checking if divisible by 2
            CLEAR E # Counter A, starts at 1
            CLEAR F # Counter B, starts at 0
            CLEAR G # Temp C, holds the value of B, starts at 0
            CLEAR H # Holds 1 if even, and 0 if odd
            CLEAR D # Temp D, holds the new value of X, starts at 0
            CLEAR K # Counter that checks if X is more than 
            INCREASE E

            REPEAT X TIMES (
                REPEAT E TIMES ( CLEAR E
                    INCREASE G
                    CLEAR H # IS_EVEN = 0
                    INCREASE D
                )

                REPEAT F TIMES ( CLEAR F
                    INCREASE E
                    INCREASE H # IS_EVEN = 1
                )

                REPEAT G TIMES ( CLEAR G
                    CLEAR K
                    INCREASE K
                    INCREASE F
                )
            )

        # END Checking if divisible by 2
        
        
        # START If
        REPEAT H TIMES (
            # START Division by 2
                CLEAR X

                REPEAT D TIMES (
                    INCREASE X
                )

                CLEAR U 
                CLEAR R
                REPEAT X TIMES (
                    REPEAT U TIMES ( CLEAR U
                        CLEAR R
                        INCREASE R
                    )

                    INCREASE U
                )
            # END Division by 2
        )
        # END If


        # START else check
            CLEAR I
            INCREASE I

            REPEAT H TIMES (
                CLEAR I
            )
        # END else check

        REPEAT I TIMES (
            CLEAR P
            
            REPEAT X TIMES (
                INCREASE P
                INCREASE P
                INCREASE P
            )
            INCREASE P

            PRINT P
            REPEAT D TIMES (
                INCREASE X
            )
        )
        PRINT X
        )
    )
)
)

Test details

Test 1 (public)

Verdict: ACCEPTED

input
(empty)

correct output
(empty)

user output
INCREASE T
INCREASE T
INCREASE T
INCREASE T
INCREASE T
...

Feedback: 364 tests processed (command limit exceeded)