QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#513121#1173. Knowledge Is...MaMengQiWA 1ms6000kbC++111.1kb2024-08-10 16:58:462024-08-10 16:58:46

详细

Test #1:

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

input:

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

output:

4 2 1 5 2 3 1 

result:

ok answer = 7

Test #2:

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

input:

2 2
1 2
3 4

output:

1 1 

result:

ok answer = 2

Test #3:

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

input:

2 1
1 2
2 3

output:

1 0 

result:

ok answer = 1

Test #4:

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

input:

1 1
4 26

output:

1 

result:

ok answer = 1

Test #5:

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

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 213 0 105 104 201 27 0 0 0 103 102 97 93 147 169 168 101 100 96 99 0 0 0 161 0 0 0 33 98 91 0 0 112 77 0 0 85 84 34 0 36 89 15 0 111 80 158 79 110 109 106 115 0 108 0 0 1 7 0 0 107 171 0 110 0 172 0 0 106 0 91 148 149 102 90 23 0 89 88 152 28 33 36 87 0 21 27 83 0 154 30 86 0 31 156 0 37 85 0 2...

result:

ok answer = 376

Test #6:

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

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:

73 128 175 125 123 238 150 8 67 230 161 159 88 169 45 0 87 0 187 15 59 0 180 12 46 0 155 101 0 222 220 119 7 0 72 0 1 73 150 28 0 0 18 27 43 13 113 0 190 26 103 17 0 4 0 216 229 94 19 61 113 3 99 205 76 0 38 67 188 131 82 0 214 0 112 129 158 157 111 217 66 65 127 156 126 0 108 219 241 224 92 225 154...

result:

wrong answer participant answer = 406, judge answer = 471