QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#273284#5545. Contingency PlanGuanYunchangTL 1ms5784kbC++174.1kb2023-12-02 22:47:462023-12-02 22:47:48

详细

Test #1:

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

input:

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

output:

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

result:

ok AC

Test #2:

score: -100
Time Limit Exceeded

input:

3
1 2
2 3

output:


result: