QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#155813#5528. Least Annoying Constructive ProblemMaMengQiWA 1ms3744kbC++1.7kb2023-09-02 08:04:012023-09-02 08:04:01

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 0ms
memory: 3744kb

input:

3

output:

1 2
1 3
2 3

result:

ok Correct

Test #2:

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

input:

4

output:

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

result:

wrong answer Every consecutive n-1 edges have to form a tree, false for 3