QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#513067#1173. Knowledge Is...HuangHanShengWA 1ms7792kbC++201.3kb2024-08-10 16:47:452024-08-10 16:47:45

詳細信息

Test #1:

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

input:

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

output:

1 4 5 2 4 3 5 

result:

ok answer = 7

Test #2:

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

input:

2 2
1 2
3 4

output:

2 1 

result:

ok answer = 2

Test #3:

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

input:

2 1
1 2
2 3

output:

0 1 

result:

ok answer = 1

Test #4:

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

input:

1 1
4 26

output:

1 

result:

ok answer = 1

Test #5:

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

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:

54 140 0 155 93 92 0 215 157 244 243 87 86 85 116 0 0 0 83 82 69 81 151 159 0 0 246 0 160 217 73 82 161 162 70 84 0 0 100 101 193 163 190 41 228 0 65 104 0 56 111 110 109 60 174 89 154 0 226 223 134 135 113 184 136 80 251 0 253 138 85 0 88 0 0 58 103 225 0 102 100 0 210 219 202 114 139 228 230 17 25...

result:

ok answer = 376

Test #6:

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

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:

165 212 0 124 221 38 185 66 91 75 180 170 75 23 234 135 152 137 0 19 207 0 24 9 201 0 199 164 107 238 0 133 16 43 99 42 39 97 191 151 106 35 108 150 223 7 143 215 0 27 159 6 119 38 205 2 11 154 5 45 128 36 158 0 98 0 165 219 240 210 92 80 5 79 138 211 208 179 129 0 226 232 213 186 214 132 121 87 45 ...

result:

ok answer = 471

Test #7:

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

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:

241 116 28 40 138 92 90 206 156 173 146 87 178 44 1 143 243 62 123 79 100 76 85 214 46 188 94 31 248 147 210 90 147 98 81 40 66 77 174 109 100 36 43 31 148 217 199 46 249 213 246 89 134 136 159 168 162 176 10 96 211 121 130 33 17 239 56 128 51 63 119 22 30 203 48 110 238 35 93 210 120 15 82 151 80 1...

result:

wrong answer participant answer = 495, judge answer = 500