QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#84361#4513. Slide Paradeflower0 3354ms89116kbC++233.0kb2023-03-06 12:06:572023-03-06 12:06:59

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 0
Wrong Answer
time: 2ms
memory: 3412kb

input:

100
5 8
1 2
1 3
1 4
1 5
2 1
3 1
4 1
5 1
5 10
1 3
1 4
2 3
2 5
3 1
3 4
3 5
4 2
5 1
5 3
5 10
1 4
2 3
2 5
3 1
3 5
4 2
4 3
4 5
5 1
5 2
3 6
1 2
1 3
2 1
2 3
3 1
3 2
5 10
1 2
1 5
2 3
2 4
3 1
4 3
4 5
5 2
5 3
5 4
4 10
1 2
1 3
1 4
2 1
2 3
2 4
3 1
3 4
4 2
4 3
5 10
1 2
1 3
2 1
2 4
3 1
3 5
4 2
4 5
5 3
5 4
5 10
1 ...

output:

Case #1: IMPOSSIBLE
Case #2: 45
1 3 1 3 2 4 1 3 2 4 1 5 2 4 1 5 2 4 1 5 2 4 1 5 2 4 1 3 5 2 4 1 3 5 2 4 3 5 3 5 3 5 2 4 1 
Case #3: 44
4 1 3 2 4 1 3 2 4 1 3 4 1 5 4 1 3 2 5 4 1 3 2 5 4 1 3 2 5 4 1 3 2 5 3 2 5 3 2 5 2 5 4 1 
Case #4: 16
1 2 1 2 1 3 1 3 1 2 3 2 3 2 3 1 
Case #5: 44
5 4 2 1 3 2 1 3 2 1...

result:

wrong answer invalid move (from 3 to 2) (test case 2)

Test #2:

score: 0
Wrong Answer
time: 3354ms
memory: 89116kb

input:

100
199 4980
1 95
1 96
1 105
1 124
1 130
1 131
1 135
1 137
1 139
1 140
1 141
1 147
1 155
1 172
1 174
1 179
1 183
1 188
1 193
1 196
1 197
2 3
2 5
2 13
2 14
2 17
2 20
2 24
2 26
2 30
2 41
2 44
2 45
2 52
2 56
2 67
2 70
2 71
2 74
2 78
2 84
2 85
2 90
2 92
2 93
2 97
2 107
2 111
2 113
2 122
2 124
2 128
2 13...

output:

Case #1: IMPOSSIBLE
Case #2: IMPOSSIBLE
Case #3: 991758
199 200 198 200 184 108 149 197 188 149 153 149 111 108 108 195 188 129 129 108 189 129 111 131 118 192 157 140 118 120 128 181 172 174 157 147 140 125 140 121 118 180 174 146 121 145 133 152 147 145 121 190 183 108 142 137 128 113 120 106 176 ...

result:

wrong answer invalid move (from 200 to 198) (test case 3)