QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#78569#5528. Least Annoying Constructive ProblemznstzWA 2ms3392kbC++14677b2023-02-19 15:57:392023-02-19 15:57:40

详细

Test #1:

score: 100
Accepted
time: 2ms
memory: 3392kb

input:

3

output:

1 2
2 3
1 3

result:

ok Correct

Test #2:

score: 0
Accepted
time: 0ms
memory: 3384kb

input:

4

output:

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

result:

ok Correct

Test #3:

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

input:

5

output:

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

result:

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