QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#513415#1173. Knowledge Is...ZhaoZiLongWA 2ms10100kbC++11960b2024-08-10 17:47:502024-08-10 17:47:50

详细

Test #1:

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

input:

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

output:

3 5 1 2 2 4 3 

result:

ok answer = 7

Test #2:

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

input:

2 2
1 2
3 4

output:

1 2 

result:

ok answer = 2

Test #3:

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

input:

2 1
1 2
2 3

output:

1 0 

result:

ok answer = 1

Test #4:

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

input:

1 1
4 26

output:

1 

result:

ok answer = 1

Test #5:

score: 0
Accepted
time: 2ms
memory: 10096kb

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 0 211 0 72 70 240 30 0 0 0 69 68 67 81 250 248 253 63 117 76 86 0 0 0 233 0 0 0 154 29 67 0 0 13 68 0 0 69 70 152 0 151 115 14 0 20 74 194 111 8 10 12 109 0 24 0 0 21 22 0 0 105 144 0 40 0 210 0 0 42 0 100 216 214 106 99 136 0 97 93 230 18 17 16 92 0 175 174 94 0 204 172 96 7 170 203 0 169 98 0 6...

result:

ok answer = 376

Test #6:

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

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:

114 191 0 140 194 69 218 47 101 78 222 231 111 20 185 153 128 145 0 10 199 0 14 15 194 5 198 116 130 0 0 148 6 56 89 59 21 88 220 132 138 55 75 135 170 16 138 211 0 34 126 18 131 22 206 2 11 121 20 66 141 30 118 0 91 0 122 177 0 223 98 85 1 91 142 192 198 223 156 0 184 182 225 217 196 154 165 111 62...

result:

wrong answer participant answer = 468, judge answer = 471