QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#430382#1834. Eulerian?ucup-team3407#WA 1ms3864kbC++14512b2024-06-03 19:26:282024-06-03 19:26:29

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

3
2
1
0

output:

? 3 1 2 3 
? 2 2 3 
? 1 1 
! NO

result:

ok correct

Test #2:

score: 0
Accepted
time: 0ms
memory: 3804kb

input:

3
3
1
0
0
3
0
3
0
3
0
1
0
1
1
0
1
0
1
0
1
0
0
1
0
1
1
0
1
0
0
3
0
1
1
0
0
1
0
1
0
1
3
0
1
0
0
1
0
3
3
0
3
0
1
0
0
1
0
1

output:

? 3 1 2 3 
? 2 2 3 
? 1 1 
? 0 
? 3 1 2 3 
? 0 
? 3 1 2 3 
? 0 
? 3 1 2 3 
? 1 3 
? 2 1 2 
? 1 3 
? 2 1 2 
? 2 1 3 
? 1 2 
? 2 1 2 
? 1 3 
? 2 1 3 
? 1 2 
? 2 1 3 
? 1 2 
? 1 3 
? 2 1 2 
? 1 1 
? 2 2 3 
? 2 2 3 
? 1 1 
? 2 1 2 
? 1 3 
? 0 
? 3 1 2 3 
? 1 1 
? 2 2 3 
? 2 1 3 
? 1 2 
? 1 3 
? 2 1 2 
?...

result:

ok correct

Test #3:

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

input:

4
3
2
0

output:

? 4 1 2 3 4 
? 3 2 3 4 
? 1 1 
! NO

result:

ok correct

Test #4:

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

input:

4
4
3
0

output:

? 4 1 2 3 4 
? 3 2 3 4 
? 1 1 
! NO

result:

ok correct

Test #5:

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

input:

4
5
3
0
0
5
0
5
0
5
0
3
0
3
0
1
3
0
2
0

output:

? 4 1 2 3 4 
? 3 2 3 4 
? 1 1 
? 0 
? 4 1 2 3 4 
? 0 
? 4 1 2 3 4 
? 0 
? 4 1 2 3 4 
? 1 3 
? 3 1 2 4 
? 1 3 
? 3 1 2 4 
? 2 1 3 
? 2 2 4 
? 3 1 2 4 
? 1 3 
? 3 1 3 4 
? 1 2 
! NO

result:

ok correct

Test #6:

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

input:

10
10
4
2
1
5
1
4

output:

? 10 1 2 3 4 5 6 7 8 9 10 
? 6 2 3 4 7 8 9 
? 4 1 5 6 10 
? 3 5 6 8 
? 7 1 2 3 4 7 9 10 
? 3 6 9 10 
? 7 1 2 3 4 5 7 8 
! NO

result:

ok correct

Test #7:

score: 0
Accepted
time: 0ms
memory: 3648kb

input:

10
11
4
2

output:

? 10 1 2 3 4 5 6 7 8 9 10 
? 6 2 3 4 7 8 9 
? 4 1 5 6 10 
! NO

result:

ok correct

Test #8:

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

input:

100
42
53
33
31
58

output:

? 72 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 
? 72 2 3 4 7 8 9 12 13 15 17 22 23 24 25 26 29 31 32 33 34 35 36 37 38 39 40 41 42 43 ...

result:

ok correct

Test #9:

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

input:

100
138
126
85

output:

? 72 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 
? 72 2 3 4 7 8 9 12 13 15 17 22 23 24 25 26 29 31 32 33 34 35 36 37 38 39 40 41 42 43 ...

result:

ok correct

Test #10:

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

input:

1000
584
889
549
594
810
66
266
932
523

output:

? 640 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 129 130 131 132 133 134 135 136 137 138 139 140 141 142 14...

result:

ok correct

Test #11:

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

input:

1000
4667
6961
3917

output:

? 640 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 129 130 131 132 133 134 135 136 137 138 139 140 141 142 14...

result:

ok correct

Test #12:

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

input:

10000
6432
2048
1209

output:

? 2512 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 321 322 323 32...

result:

ok correct

Test #13:

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

input:

10000
6469
2027
1274
610
3096

output:

? 2512 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 321 322 323 32...

result:

ok correct

Test #14:

score: 0
Accepted
time: 0ms
memory: 3704kb

input:

10
10
1
1
5
1
2
2
5
1
3
3
3
3
2
2
3
3
0
6
2
2
1
1
4
0
5
1
3
3
2
4
4
2
1
5
2
4
3
3
0
6
3
3
0
8
1
3
4
2
1
3
0
4
3
1
0
4
3
3

output:

? 10 1 2 3 4 5 6 7 8 9 10 
? 5 1 2 4 7 10 
? 5 3 5 6 8 9 
? 7 1 3 4 5 8 9 10 
? 3 2 6 7 
? 5 2 3 7 9 10 
? 5 1 4 5 6 8 
? 7 1 2 3 5 6 8 10 
? 3 4 7 9 
? 5 2 4 6 8 10 
? 5 1 3 5 7 9 
? 5 2 5 6 7 9 
? 5 1 3 4 8 10 
? 5 1 3 4 7 9 
? 5 2 5 6 8 10 
? 5 5 7 8 9 10 
? 5 1 2 3 4 6 
? 2 7 10 
? 8 1 2 3 4 5 6...

result:

ok correct

Test #15:

score: -100
Wrong Answer
time: 1ms
memory: 3864kb

input:

100
54
8
15

output:

? 72 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 
? 32 1 2 4 7 10 18 19 20 22 23 24 26 27 29 30 31 65 66 68 71 74 82 83 84 86 87 88 90 9...

result:

wrong answer the participant answered wrong