QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#138914#1173. Knowledge Is...waifuSenpai#WA 1ms5500kbC++171.2kb2023-08-12 14:06:412023-08-12 14:06:43

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

7 5
9 10
7 9
3 4
9 10
2 6
8 9
5 8

output:

2 4 5 1 4 3 5 

result:

ok answer = 7

Test #2:

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

input:

2 2
1 2
3 4

output:

1 2 

result:

ok answer = 2

Test #3:

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

input:

2 1
1 2
2 3

output:

1 0 

result:

ok answer = 1

Test #4:

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

input:

1 1
4 26

output:

1 

result:

ok answer = 1

Test #5:

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

input:

500 258
1 3
3 5
2 4
3 5
4 5
4 5
1 4
1 2
3 5
2 5
2 5
4 5
4 5
4 5
2 3
1 4
1 4
1 4
4 5
4 5
2 3
4 5
3 5
3 5
1 5
1 4
2 5
1 5
3 5
3 4
4 5
2 3
3 5
3 5
4 5
2 3
1 5
1 5
2 3
2 3
3 4
3 5
3 4
1 3
1 2
1 5
4 5
2 3
2 4
1 3
4 5
4 5
4 5
1 3
3 5
4 5
3 5
1 5
1 2
1 2
3 5
3 5
4 5
3 4
3 5
2 3
2 5
2 4
2 5
3 5
2 3
1 5
4 5
...

output:

189 0 69 0 196 195 136 232 0 0 0 190 189 188 144 128 127 126 186 185 166 184 0 0 36 139 0 32 0 237 176 165 0 0 173 163 33 34 159 158 231 0 228 193 241 40 168 155 76 203 214 215 216 217 0 220 0 11 243 246 0 0 212 222 0 167 0 81 0 0 162 8 207 79 78 219 206 252 16 205 203 117 227 236 229 211 0 249 248 ...

result:

ok answer = 376

Test #6:

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

input:

500 242
8 9
9 10
2 9
8 10
9 10
6 10
4 8
4 5
2 6
7 10
3 8
1 8
1 6
5 9
7 8
8 10
8 9
8 10
2 9
2 3
6 8
3 10
5 9
1 3
6 8
4 10
9 10
8 9
8 10
1 9
3 9
3 7
2 3
6 10
3 6
6 10
3 4
3 6
9 10
5 7
8 10
6 10
5 6
5 7
7 8
1 3
4 7
9 10
4 9
2 4
8 9
1 3
8 10
3 4
9 10
4 9
5 10
8 9
1 3
1 5
8 10
3 4
8 9
3 9
3 6
3 10
6 7
7 ...

output:

139 117 82 0 108 0 107 238 160 0 111 121 176 59 161 0 32 0 83 224 182 18 60 234 188 12 0 140 0 88 78 131 227 0 152 0 208 154 0 209 0 0 221 210 172 236 226 114 72 216 145 237 0 209 124 75 7 135 238 202 0 240 146 79 153 23 191 176 86 119 159 0 70 0 126 118 96 112 135 81 169 163 116 106 115 0 143 159 0...

result:

wrong answer participant answer = 394, judge answer = 471