QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#616540#9439. Aim Highucup-team1878#AC ✓1ms3660kbC++232.3kb2024-10-06 07:28:452024-10-06 07:28:45

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 0ms
memory: 3660kb

input:

1
1

output:

119
47 -2 48 -2 48 -1
52 -2 51 -2 51 -1
28 -2 29 -2 29 -1
71 -2 70 -2 70 -1
28 -1 29 -1 29 0
71 -1 70 -1 70 0
29 -1 29 0 30 0
70 -1 70 0 69 0
30 -1 30 0 31 0
69 -1 69 0 68 0
31 -1 31 0 32 0
68 -1 68 0 67 0
32 -1 32 0 33 0
67 -1 67 0 66 0
33 -1 33 0 34 0
66 -1 66 0 65 0
34 -1 34 0 35 0
65 -1 65 0 64 ...

result:

ok Output is valid. OK

Test #2:

score: 0
Accepted
time: 1ms
memory: 3596kb

input:

6
1
2
3
4
5
6

output:

119
47 -2 48 -2 48 -1
52 -2 51 -2 51 -1
28 -2 29 -2 29 -1
71 -2 70 -2 70 -1
28 -1 29 -1 29 0
71 -1 70 -1 70 0
29 -1 29 0 30 0
70 -1 70 0 69 0
30 -1 30 0 31 0
69 -1 69 0 68 0
31 -1 31 0 32 0
68 -1 68 0 67 0
32 -1 32 0 33 0
67 -1 67 0 66 0
33 -1 33 0 34 0
66 -1 66 0 65 0
34 -1 34 0 35 0
65 -1 65 0 64 ...

result:

ok Output is valid. OK

Extra Test:

score: 0
Extra Test Passed