QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#624289#6599. The Grand TournamentqiuzxWA 269ms4032kbC++204.6kb2024-10-09 15:27:032024-10-09 15:27:03

详细

Test #1:

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

input:

2
0 0 3 3
1 1 1 2
2 1 2 2
0 0 3 3
1 1 1 2
1 2 2 2

output:

0.000000000000000
1.000000000000000

result:

ok 2 numbers

Test #2:

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

input:

10
0 0 7 6
2 4 4 4
3 2 5 2
0 0 7 6
2 4 4 4
4 4 5 2
0 0 2 4
1 1 1 2
1 2 1 3
0 0 2 3
1 1 1 2
1 1 1 2
0 0 3 3
1 1 2 2
1 2 2 1
0 0 2 4
1 1 1 2
1 2 1 3
0 0 6 6
1 1 5 5
1 5 3 3
0 0 2 3
1 1 1 2
1 1 1 2
0 0 2 5
1 1 1 3
1 2 1 4
0 0 2 4
1 1 1 3
1 1 1 2

output:

0.000000000000000
3.750000000000000
0.000000000000000
6.000000000000000
0.000000000000000
0.000000000000000
0.000000000000000
6.000000000000000
2.000000000000000
4.000000000000000

result:

ok 10 numbers

Test #3:

score: -100
Wrong Answer
time: 269ms
memory: 3860kb

input:

100000
350 720 355 732
353 725 352 729
354 721 353 725
-807 606 -801 621
-803 608 -803 616
-803 616 -803 614
-389 463 -373 466
-382 464 -387 464
-387 464 -385 464
-664 801 -655 806
-656 803 -659 803
-659 803 -657 802
896 -767 901 -762
900 -763 897 -763
900 -763 897 -763
403 645 407 652
406 647 405 6...

output:

0.000000000000000
42.000000000000000
12.000000000000000
24.000000000000000
25.000000000000000
28.000000000000000
99.000000000000000
0.000000000000000
135.000000000000000
6.000000000000000
42.000000000000000
45.000000000000000
120.000000000000000
8.000000000000000
84.000000000000000
15.00000000000000...

result:

wrong output format Expected double, but "-nan" found