QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#513425#1173. Knowledge Is...ZhaoZiLongWA 1ms10032kbC++11960b2024-08-10 17:49:042024-08-10 17:49:04

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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: 7980kb

input:

2 2
1 2
3 4

output:

1 2 

result:

ok answer = 2

Test #3:

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

input:

2 1
1 2
2 3

output:

1 0 

result:

ok answer = 1

Test #4:

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

input:

1 1
4 26

output:

1 

result:

ok answer = 1

Test #5:

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

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 51 53 240 30 0 0 0 54 55 56 81 250 248 253 60 48 76 0 27 20 0 233 0 0 0 154 94 67 14 18 112 68 0 0 69 70 152 17 151 115 14 0 104 74 194 111 118 115 113 109 16 99 23 0 21 22 22 21 0 144 15 40 0 210 0 11 42 0 0 216 214 106 0 136 0 0 0 230 18 17 16 0 29 175 174 0 0 204 172 0 0 170 203 0 169 ...

result:

ok answer = 376

Test #6:

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

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:

140 223 0 73 227 54 218 47 101 114 222 231 111 21 185 150 126 122 0 10 199 0 42 15 194 7 217 142 158 0 2 148 6 67 89 64 21 88 209 132 159 69 75 135 170 16 138 210 11 34 128 18 157 22 233 14 38 143 20 66 118 30 136 0 91 0 122 177 0 174 98 104 15 108 142 225 198 223 156 3 184 182 176 217 229 151 165 7...

result:

wrong answer participant answer = 468, judge answer = 471