QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#414731#5528. Least Annoying Constructive ProblemMaMengQiWA 0ms3944kbC++17172b2024-05-19 15:59:492024-05-19 15:59:49

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

3

output:

1 2
2 3
1 3

result:

ok Correct

Test #2:

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

input:

4

output:

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

result:

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