QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#394506#7756. Omniscia Spares Noney0y68WA 1ms3824kbC++142.2kb2024-04-20 15:27:232024-04-20 15:27:24

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

3

output:

Yes
-1 0
0 1
1 0
2
1 2
2 3

result:

ok OK, Accepted.

Test #2:

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

input:

4

output:

Yes
-998244353 -998244353
0 998244353
6 6
1 1
2
1 2
4 3

result:

ok OK, Accepted.

Test #3:

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

input:

1

output:

Yes
0 0
0

result:

ok OK, Accepted.

Test #4:

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

input:

2

output:

Yes
0 0
1 1
1
1 2

result:

ok OK, Accepted.

Test #5:

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

input:

5

output:

No

result:

ok OK, Accepted.

Test #6:

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

input:

6

output:

No

result:

ok OK, Accepted.

Test #7:

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

input:

7

output:

No

result:

ok OK, Accepted.

Test #8:

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

input:

8

output:

Yes
-1 0
1 0
0 1
0 -1
0 2
0 -2
2 0
-2 0
18
1 2
1 3
1 4
2 3
2 4
3 5
1 5
2 5
4 6
1 6
2 6
5 6
2 7
5 7
6 7
1 8
5 8
6 8

result:

wrong answer Invalid Planar Graph : segments (1, 2) and (5, 6) intersect