QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#697741#8140. Customs Controls 2HuangHanShengWA 2ms8096kbC++231.5kb2024-11-01 15:33:522024-11-01 15:33:53

詳細信息

Test #1:

score: 100
Accepted
time: 2ms
memory: 7960kb

input:

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

output:

No
Yes
1 1 1 1 1 1 1 1 

result:

ok ok (2 test cases)

Test #2:

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

input:

2
11 16
1 2
1 3
1 4
1 5
2 6
4 6
3 7
4 7
5 8
6 8
2 9
3 9
7 10
8 10
9 11
10 11
8 10
1 2
1 3
2 4
3 5
3 6
4 6
2 7
5 7
6 8
7 8

output:

Yes
1 1 1 1 2 1 2 1 3 1 1 
No

result:

ok ok (2 test cases)

Test #3:

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

input:

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

output:

No

result:

ok ok (1 test case)

Test #4:

score: 0
Accepted
time: 2ms
memory: 8004kb

input:

1
11 16
1 2
1 3
1 4
1 5
2 6
4 6
3 7
4 7
5 8
6 8
2 9
3 9
7 10
8 10
9 11
10 11

output:

Yes
1 1 1 1 2 1 2 1 3 1 1 

result:

ok ok (1 test case)

Test #5:

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

input:

1
3 3
1 2
1 3
2 3

output:

No

result:

ok ok (1 test case)

Test #6:

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

input:

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

output:

Yes
1 1 1 1 1 2 1 2 1 1 1 4 1 2 1 

result:

ok ok (1 test case)

Test #7:

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

input:

10
20 40
1 8
1 11
1 19
8 7
8 16
8 15
8 14
8 4
8 17
11 5
11 6
11 2
11 3
7 6
7 2
7 3
16 9
16 12
15 9
15 12
14 9
4 18
4 10
5 13
5 10
6 18
6 10
2 13
2 18
3 18
3 10
9 13
9 10
12 13
12 10
19 20
17 20
13 20
18 20
10 20
20 30
8 19
19 12
5 12
5 10
10 4
18 4
18 14
14 6
15 6
15 7
7 3
17 3
17 2
2 16
9 16
9 11
1...

output:

Yes
1 1 1 2 1 1 1 1 1 1 2 1 1 1 1 1 3 1 4 1 
No
No
Yes
1 3 3 4 2 1 1 5 3 1 1 1 1 1 2 1 2 2 2 1 
Yes
1 3 1 1 1 1 3 1 1 1 3 1 1 2 2 3 1 1 1 1 
Yes
1 1 1 1 3 1 1 1 1 2 1 1 3 4 1 3 2 1 1 1 
Yes
1 2 1 1 4 4 1 1 2 1 2 1 1 3 1 2 5 1 3 1 
No
Yes
1 1 3 1 3 2 2 1 1 1 3 2 3 3 1 2 3 1 
Yes
1 2 1 4 3 1 3 1 1 1 2...

result:

wrong answer participant failed to find a solution (test case 3)