QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#512626#1173. Knowledge Is...ZhangYiDeWA 1ms5668kbC++20812b2024-08-10 15:08:202024-08-10 15:08:22

詳細信息

Test #1:

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

input:

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

output:

2 4 1 3 2 5 3 

result:

ok answer = 7

Test #2:

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

input:

2 2
1 2
3 4

output:

1 2 

result:

ok answer = 2

Test #3:

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

input:

2 1
1 2
2 3

output:

1 0 

result:

ok answer = 1

Test #4:

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

input:

1 1
4 26

output:

1 

result:

ok answer = 1

Test #5:

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

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:

70 0 190 0 65 64 123 27 0 0 0 117 116 115 115 131 132 133 113 112 93 111 2 0 0 120 0 0 0 215 103 94 0 0 100 96 0 0 100 101 221 0 224 66 18 257 95 104 183 56 83 84 85 42 0 89 0 0 16 13 0 0 81 230 0 92 0 178 0 0 97 0 61 180 181 40 75 200 0 74 72 142 32 23 30 80 0 203 204 47 0 185 207 57 0 199 193 0 19...

result:

ok answer = 376

Test #6:

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

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:

153 212 0 119 221 38 185 66 91 98 180 170 75 19 234 130 146 132 0 19 207 0 20 9 201 0 198 152 108 238 0 133 16 43 99 42 39 97 190 151 106 35 108 150 223 7 143 215 0 27 161 6 114 38 205 1 13 148 5 45 123 36 160 0 98 0 165 219 240 210 92 85 4 84 138 211 208 179 129 0 226 232 213 186 214 127 121 78 45 ...

result:

ok answer = 471

Test #7:

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

input:

500 250
50 84
36 68
94 98
13 88
4 62
45 74
80 89
56 87
65 89
44 52
69 78
29 76
61 90
91 99
16 98
69 92
50 77
86 95
73 79
83 90
78 89
1 79
81 86
14 37
91 94
27 48
11 73
94 97
49 80
15 60
26 39
34 76
69 77
22 72
6 78
92 96
46 83
83 94
62 95
77 80
32 72
46 90
41 88
47 91
68 75
14 36
26 43
14 87
49 74
2...

output:

64 155 223 0 118 196 162 89 118 84 224 206 102 205 0 124 216 189 235 172 149 227 165 35 207 63 189 226 240 109 41 208 219 180 220 212 52 175 106 242 182 53 42 55 205 33 52 0 197 40 61 160 127 127 95 79 204 107 245 154 39 136 133 2 233 62 198 138 199 20 138 56 217 202 36 167 10 214 158 86 150 27 168 ...

result:

wrong answer participant answer = 479, judge answer = 500