QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#150448#5580. Branch ManagerMaMengQiML 3ms7688kbC++141021b2023-08-25 17:18:412023-08-25 17:18:43

詳細信息

Test #1:

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

input:

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

output:

5

result:

ok single line: '5'

Test #2:

score: 0
Accepted
time: 3ms
memory: 7688kb

input:

4 4
1 2
1 3
1 4
3
2
3
4

output:

1

result:

ok single line: '1'

Test #3:

score: -100
Memory Limit Exceeded

input:

2 2
1 2
2
2

output:


result: