QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#274491#7603. Mex on DAGZhaoZiLongWA 1ms5768kbC++171.7kb2023-12-03 16:13:102023-12-03 16:13:11

详细

Test #1:

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

input:

8
3 6
2 7
1 3
2 3
6 7
7 8
7 8
4 6
2 7
1 5
2 5
2 8
6 8
7 8
3 5
7 8

output:

4

result:

ok 1 number(s): "4"

Test #2:

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

input:

15
7 15
10 12
13 14
6 8
14 15
9 10
6 13
1 8
6 8
8 9
14 15
13 14
9 13
7 13
14 15
12 14
6 7
3 14
11 14
3 10
10 12
3 8
8 14
13 14
9 11
10 13
6 10
5 10
1 11
13 14

output:

3

result:

ok 1 number(s): "3"

Test #3:

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

input:

2
1 2
1 2
1 2
1 2

output:

2

result:

wrong answer 1st numbers differ - expected: '1', found: '2'