QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#513321#1173. Knowledge Is...HuangHanShengWA 1ms5900kbC++11833b2024-08-10 17:29:342024-08-10 17:29:36

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 0ms
memory: 5900kb

input:

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

output:

3 2 5 4 4 1 3 

result:

ok answer = 7

Test #2:

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

input:

2 2
1 2
3 4

output:

2 1 

result:

ok answer = 2

Test #3:

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

input:

2 1
1 2
2 3

output:

1 0 

result:

ok answer = 1

Test #4:

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

input:

1 1
4 26

output:

1 

result:

ok answer = 1

Test #5:

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

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 238 196 195 136 232 236 0 0 190 189 188 144 128 127 126 186 185 166 184 235 233 0 139 0 0 232 44 176 165 231 230 173 163 0 0 159 158 38 229 35 193 241 2 168 155 76 203 214 215 216 217 228 220 239 0 243 246 225 224 212 29 223 167 0 81 0 221 162 0 207 79 78 219 206 59 0 205 203 117 227 236 22...

result:

ok answer = 376

Test #6:

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

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:

118 69 0 132 60 0 58 177 152 154 63 73 168 213 9 85 103 87 0 224 36 0 214 234 42 225 19 119 94 5 239 110 227 176 144 175 204 146 27 92 92 0 135 93 20 236 100 66 234 216 124 237 0 205 76 237 208 114 238 198 78 207 125 240 145 0 78 24 3 71 151 139 232 138 105 70 35 64 114 242 17 11 68 57 67 82 122 173...

result:

ok answer = 471

Test #7:

score: -100
Wrong Answer
time: 0ms
memory: 3760kb

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:

186 96 82 0 133 55 22 157 119 167 27 45 141 102 0 96 35 49 16 2 35 24 12 216 41 188 62 78 11 142 210 43 32 71 31 57 197 26 137 9 69 204 209 196 46 218 199 0 54 211 187 103 124 92 156 172 47 139 105 30 212 70 118 246 121 184 20 113 65 232 63 195 76 49 214 84 241 111 88 164 101 223 4 144 8 158 60 175 ...

result:

wrong answer participant answer = 479, judge answer = 500