QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#512213#1173. Knowledge Is...ZhangYiDeWA 1ms7744kbC++20750b2024-08-10 13:50:482024-08-10 13:50:49

详细

Test #1:

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

input:

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

output:

2 5 4 1 5 3 4 

result:

ok answer = 7

Test #2:

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

input:

2 2
1 2
3 4

output:

2 2 

result:

ok answer = 2

Test #3:

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

input:

2 1
1 2
2 3

output:

1 0 

result:

ok answer = 1

Test #4:

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

input:

1 1
4 26

output:

1 

result:

ok answer = 1

Test #5:

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

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:

241 0 11 0 69 90 35 48 0 24 23 70 94 92 0 0 0 0 96 101 0 100 0 0 84 85 0 86 0 46 66 89 0 0 67 93 98 99 95 96 0 0 0 100 102 103 95 105 0 91 93 91 88 50 0 68 0 75 83 76 0 0 89 48 0 64 15 3 13 0 56 81 71 6 14 58 97 0 0 50 55 72 78 80 82 58 0 0 0 62 0 4 0 57 0 0 2 0 0 45 0 79 39 0 0 0 53 0 36 77 0 44 0 ...

result:

wrong answer participant answer = 368, judge answer = 376