QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#512713#1173. Knowledge Is...MaMengQiWA 1ms6000kbC++171.6kb2024-08-10 15:29:432024-08-10 15:29:44

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

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

output:

3 2 3 1 1 4 5

result:

ok answer = 7

Test #2:

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

input:

2 2
1 2
3 4

output:

1 2

result:

ok answer = 2

Test #3:

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

input:

2 1
1 2
2 3

output:

1 0

result:

ok answer = 1

Test #4:

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

input:

1 1
4 26

output:

1

result:

ok answer = 1

Test #5:

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

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:

230 0 153 0 230 112 216 14 0 0 0 225 6 187 179 207 103 208 92 45 43 233 0 0 188 212 257 191 0 0 183 42 0 0 185 87 23 5 88 178 0 0 0 227 63 192 239 93 72 113 227 28 56 55 0 238 0 48 126 253 0 0 236 0 0 181 32 37 132 0 163 196 0 75 151 116 0 121 97 0 0 25 251 1 124 0 0 253 126 0 65 17 255 0 0 59 162 1...

result:

ok answer = 376

Test #6:

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

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:

57 173 199 70 200 92 78 166 208 0 43 226 58 67 239 0 180 0 99 54 123 83 133 63 122 150 0 232 0 224 42 178 221 166 184 93 95 22 0 141 0 0 145 71 58 242 161 0 38 53 233 124 161 23 0 154 125 115 127 240 0 47 179 85 91 84 223 105 49 159 207 72 153 0 44 174 217 173 203 172 238 118 100 158 78 0 233 183 16...

result:

wrong answer participant answer = 428, judge answer = 471