QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#505428 | #5798. Center of Mass | xiaowuc1 | 27 ✓ | 3ms | 3912kb | C++17 | 2.4kb | 2024-08-05 05:18:33 | 2024-08-05 05:18:36 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
Subtask #1:
score: 10
Accepted
Test #1:
score: 10
Accepted
time: 1ms
memory: 3888kb
input:
100 3 -5 0 0 1 0 0 -7 0 0 1 0 0 -6 3 0 1 0 0 3 3 0 -4 0 0 3 -3 -2 -1 3 0 0 -3 -1 2 0 3 0 4 1 2 3 1 2 3 3 2 1 3 2 1 1 0 0 0 0 -1 0 10 0 0 -10 -1 4 -928 2464 -3011 -2590 -268 2550 438 -161 2202 1180 2797 -4383 690 -2103 1009 1380 -2559 1803 13 14 15 0 0 0 3 3140 823 2870 -4731 -3141 180 -2147 416 -103...
output:
Case #1: 1.000000000000 5.999999929807 Case #2: 0.000000000000 1.000000000000 Case #3: 3.363406011768 0.999999892813 Case #4: 0.353553390598 7.133333461933 Case #5: 1800.000000000000 0 Case #6: 896.957373910402 0 Case #7: 610.248785332671 0 Case #8: 581.082663420959 0 Case #9: 1534.569594381434 0 Ca...
result:
ok correct! (100 test cases)
Subtask #2:
score: 17
Accepted
Test #2:
score: 17
Accepted
time: 3ms
memory: 3912kb
input:
100 3 -5 0 0 1 0 0 -7 0 0 1 0 0 -6 3 0 1 0 0 3 3 0 -4 0 0 3 -3 -2 -1 3 0 0 -3 -1 2 0 3 0 4 1 2 3 1 2 3 3 2 1 3 2 1 1 0 0 0 0 -1 0 10 0 0 -10 -1 11 -2530 1831 3835 -441 -2758 890 3519 -1055 4248 276 2692 1870 -3491 3174 -2906 -4287 -4192 2855 943 2010 285 2573 -3741 -3985 236 -4759 1551 737 2035 1877...
output:
Case #1: 1.000000000000 5.999999929807 Case #2: 0.000000000000 1.000000000000 Case #3: 3.363406011768 0.999999892813 Case #4: 0.128564869309 7.133333182560 Case #5: 1800.000000000000 0 Case #6: 285.395528062401 0 Case #7: 305.124392666335 0 Case #8: 201.143998876486 0 Case #9: 239.776499122099 0 Cas...
result:
ok correct! (100 test cases)
Extra Test:
score: 0
Extra Test Passed