QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#513091#1173. Knowledge Is...MaMengQiWA 1ms5924kbC++111.1kb2024-08-10 16:53:032024-08-10 16:53:03

詳細信息

Test #1:

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

input:

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

output:

1 4 1 2 2 5 3 

result:

ok answer = 7

Test #2:

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

input:

2 2
1 2
3 4

output:

1 2 

result:

ok answer = 2

Test #3:

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

input:

2 1
1 2
2 3

output:

1 0 

result:

ok answer = 1

Test #4:

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

input:

1 1
4 26

output:

1 

result:

ok answer = 1

Test #5:

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

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:

83 0 251 0 72 71 239 27 0 0 0 70 69 64 93 168 207 206 68 67 96 66 0 0 0 194 0 0 0 192 65 91 0 0 79 77 0 0 85 84 195 0 197 89 15 0 78 80 189 79 77 76 73 115 0 75 0 0 1 7 0 0 74 209 0 110 0 210 0 0 106 0 58 170 171 102 57 173 0 56 55 176 28 33 36 54 0 167 179 50 0 182 184 53 0 186 187 0 200 52 0 20 24...

result:

ok answer = 376

Test #6:

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

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:

239 94 0 89 87 0 214 69 77 68 229 227 108 2 172 0 28 161 0 15 195 0 14 12 175 0 130 57 134 0 0 158 7 0 88 0 22 89 123 129 125 0 101 128 168 13 147 146 0 29 60 17 155 31 163 0 0 36 19 68 77 28 51 0 92 0 155 225 0 100 99 99 0 97 146 95 224 223 144 0 222 221 93 220 92 91 140 62 0 0 112 64 218 0 30 0 85...

result:

wrong answer participant answer = 408, judge answer = 471