QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#512030#1173. Knowledge Is...ZhangYiDeWA 1ms5952kbC++17889b2024-08-10 13:20:052024-08-10 13:20:05

详细

Test #1:

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

input:

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

output:

4 3 1 5 2 2 1 

result:

ok answer = 7

Test #2:

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

input:

2 2
1 2
3 4

output:

1 1 

result:

ok answer = 2

Test #3:

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

input:

2 1
1 2
2 3

output:

1 0 

result:

ok answer = 1

Test #4:

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

input:

1 1
4 26

output:

1 

result:

ok answer = 1

Test #5:

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

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:

92 254 173 257 235 233 202 30 0 0 0 232 231 230 81 212 210 215 226 224 76 249 0 0 0 195 0 0 258 36 96 67 0 0 80 68 0 0 69 70 34 0 33 115 14 0 86 74 156 111 85 83 81 109 0 91 0 0 21 22 0 0 115 26 0 40 0 172 0 0 42 0 110 178 176 106 109 18 0 107 103 192 18 17 16 102 0 137 136 104 0 166 134 106 0 132 1...

result:

ok answer = 376

Test #6:

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

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:

117 137 205 0 134 0 135 7 80 0 139 148 90 181 80 0 103 242 203 10 39 0 188 15 59 0 120 84 0 210 199 100 6 0 68 0 1 67 217 33 0 0 26 36 65 16 16 226 190 30 105 18 0 2 128 193 0 110 20 58 0 26 113 201 70 0 48 72 208 214 77 0 194 0 94 136 38 140 108 198 79 77 212 134 132 0 117 159 0 196 9 163 145 0 115...

result:

wrong answer participant answer = 394, judge answer = 471