QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#273284#5545. Contingency PlanGuanYunchangTL 1ms5784kbC++174.1kb2023-12-02 22:47:462023-12-02 22:47:48

Details

Tip: Click on the bar to expand more detailed information

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: