QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#708630#851. (Almost) Fair Cake-CuttingHuangHanSheng AC ✓4ms3896kbC++204.6kb2024-11-04 01:23:312024-11-04 01:23:32

詳細信息

Test #1:

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

input:

1
2 1000
0 1 -750
1 0 -750

output:

93.7500000000%

result:

ok OK!

Test #2:

score: 0
Accepted
time: 2ms
memory: 3820kb

input:

500
1 1000
1 0 -300
1 1000
1 1 -500
1 1000
1 1 -1000
1 2
0 -1 1
1 1
-1 -1 1
1 1000
-866 287 1
1 1
3 -442 1
1 130
-628 558 0
1 868
-297 166 1
1 479
373 3 -96709
1 68
527 -833 0
1 348
-337 954 -109611
1 917
564 2 -449502
1 16
679 -175 0
1 463
138 -961 3
1 361
-951 -12 45113
1 464
-977 622 -35388
1 351...

output:

70.0000000000%
87.5000000000%
50.0000000000%
50.0000000000%
50.0000000000%
83.4294457275%
99.4343891403%
55.5732484076%
72.0534841503%
53.7259258845%
68.3673469388%
50.6786308104%
86.7353844250%
87.1134020619%
92.8193049447%
87.4903513141%
75.4955418490%
99.9392694441%
79.4988172856%
99.7911555184%
...

result:

ok OK!

Test #3:

score: 0
Accepted
time: 4ms
memory: 3896kb

input:

50
4000 1000
-866 287 1
-246 141 188157
994 0 -948594
3 -442 1
172 -257 2
-77 -628 557282
-983 -297 165987
-172 -992 4695
961 587 -844056
-981 631 897222
289 1 -184824
-463 493 -336717
954 -110 32323
67 866 -240824
893 -111 -546885
259 -818 385562
906 93 -191311
308 -794 258487
502 -855 -273835
-649...

output:

100.0000000000%
100.0000000000%
100.0000000000%
100.0000000000%
100.0000000000%
100.0000000000%
100.0000000000%
100.0000000000%
100.0000000000%
100.0000000000%
100.0000000000%
100.0000000000%
100.0000000000%
100.0000000000%
100.0000000000%
100.0000000000%
100.0000000000%
100.0000000000%
100.00000000...

result:

ok OK!