QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#531543#4513. Slide ParadeGuanYunchang0 3382ms81992kbC++203.3kb2024-08-24 21:06:292024-08-24 21:06:29

Details

Tip: Click on the bar to expand more detailed information

Pretests


Final Tests

Test #1:

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

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:

IMPOSSIBLE
YES
16
1 4 2 5 3 1 4 2 3 5 1 3 4 2 5 1 
YES
16
1 4 2 3 5 1 4 3 1 4 5 2 5 2 3 1 
YES
7
1 3 2 1 2 3 1 
YES
16
1 2 4 5 3 1 5 2 4 5 4 3 1 2 3 1 
YES
17
1 3 4 2 1 4 2 3 1 3 1 2 4 2 4 3 1 
YES
11
1 3 5 4 2 1 2 4 5 3 1 
YES
16
1 4 3 5 2 1 4 2 4 2 3 5 1 3 5 1 
YES
17
1 3 2 4 1 4 1 4 3 2 3 2 1 3 4...

result:

wrong output format Expected 'Case' but found 'IMPOSSIBLE' (test case 1)

Test #2:

score: 0
Wrong Answer
time: 3382ms
memory: 81992kb

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:

IMPOSSIBLE
IMPOSSIBLE
YES
145601
1 61 90 57 31 134 34 43 9 136 14 64 47 89 164 129 137 193 7 5 101 86 139 10 151 97 141 100 170 50 79 178 117 158 185 54 60 161 142 194 103 75 6 110 108 153 174 88 15 173 180 197 200 11 152 177 40 166 17 184 104 130 125 102 179 122 1 28 38 52 84 156 169 16 167 126 3 4...

result:

wrong output format Expected 'Case' but found 'IMPOSSIBLE' (test case 1)