QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#163427#5528. Least Annoying Constructive ProblemHuangHanShengWA 1ms3532kbC++201.7kb2023-09-04 04:31:252023-09-04 04:31:26

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

3

output:

1 2
2 3
1 3

result:

ok Correct

Test #2:

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

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