QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#415113 | #3003. Cost of Living | ucup-team2880 | WA | 136ms | 8980kb | C++20 | 2.0kb | 2024-05-20 11:14:34 | 2024-05-20 11:14:35 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 136ms
memory: 8980kb
input:
10 100 1000 1.4232425477 1.4587468547 1.4988380864 1.4232605904 1.4616348675 1.4896779426 1.4308848629 1.4737913284 1.4757245744 6.5778960564 1.5393071490 4.3707126564 3.6695325734 2.3650352685 2.8394679709 1.3411604400 9.3106822560 6.3826766975 9.5128884762 7.6533007241 3.9582086668 3.5031379898 6....
output:
6.5778960564 1.5393071490 4.3707126564 3.6695325734 2.3650352685 2.8394679709 1.3411604400 9.3106822560 6.3826766975 9.5128884762 7.6533007241 3.9582086668 3.5031379898 6.7924186444 7.8444449407 5.6878557364 9.7981075401 6.8324178257 3.5960959401 1.2132399906 8.6224136099 3.9814324534 3.1802408535 5...
result:
ok 1000 numbers
Test #2:
score: 0
Accepted
time: 38ms
memory: 5452kb
input:
10 100 700 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 999984.9915250402 999927.5728325787 999990.6803247513 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 999909.1348272597 -1.0000...
output:
34695.6468099981 114941.4627463040 16078.2989912270 517203.3493690434 842775.9361816106 88002.3159409446 177756.7177095418 538943.1056515902 825613.8103663344 291565.1735544454 195902.2703427859 999917.4184488849 572409.5662517740 62638.7221490837 999924.3190076798 407778.4664144245 999978.261905909...
result:
ok 700 numbers
Test #3:
score: 0
Accepted
time: 1ms
memory: 3796kb
input:
4 4 1 -1 -1 -1 5.00 -1 5.00 -1 -1 -1 -1 -1 10.00 -1 10.00 -1 -1 -1 11.00 -1 1 4
output:
11.0000000000
result:
ok found '11.00000', expected '11.00000', error '0.00000'
Test #4:
score: 0
Accepted
time: 0ms
memory: 4052kb
input:
4 4 8 1.1526548258 1.3314092554 1.0836964938 -1.0000000000 -1.0000000000 -1.0000000000 3.0796000590 4.0215499785 7.3420629650 4.0491125763 3.9906580185 7.3946475528 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 41.6296254448 6.7385283248 -1.0000000000 3 3 1 1 1 4 3 1 4 4 2 1 4 3 2 3
output:
5.7898112603 2.5262816074 11.0671955779 3.2709024735 7.2772214757 3.2131888582 5.9731992802 19.3781474311
result:
ok 8 numbers
Test #5:
score: 0
Accepted
time: 34ms
memory: 5000kb
input:
10 100 800 1.0521634367 1.1729602789 1.1306073452 1.2084144349 1.0078862583 1.1225242003 1.0771205309 1.1964754687 1.3075271282 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 2.6116023550 3.8020605784 -1.0000000000 1.1923112759 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000...
output:
7.3473859239 3.6591390298 23.5758557709 17.2670028511 6.3252059953 1283.6011224074 2075.0503506161 4.5179157221 809.5628813111 610.0680794943 3.5960318695 7.3971146210 26.0522520052 14.5390560384 131.6717032962 301.1581446892 5.8846084471 361.0540798250 316.1413882625 49.9279809790 28.9989381979 3.7...
result:
ok 800 numbers
Test #6:
score: 0
Accepted
time: 34ms
memory: 4956kb
input:
10 100 800 1.2899791474 1.3915779601 1.3485588348 1.1594621188 1.0920622916 1.1565222542 1.0587715090 1.2046496522 1.1064292921 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 1.0510368784 3.2247427692 -1.000...
output:
2.7639640350 5.7326297465 6.1321697697 28.6433778746 18.4734581831 900.1084327571 21237.0762475588 5.6903069643 6253.0462506295 4.4958271382 16.8333569978 151.2989849767 24.6940877916 528.7136663765 304.8359204576 25.1476957340 54.1615553758 89.9629749649 1473.2316861744 527.2393309953 548.635794270...
result:
ok 800 numbers
Test #7:
score: 0
Accepted
time: 34ms
memory: 6600kb
input:
10 100 800 1.2335580178 1.1412549423 1.2636981872 1.0526410525 1.4674476261 1.0958246554 1.0466222670 1.2130025095 1.4887983698 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 4.1485663392 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 1.227...
output:
29176.0381142281 482.3072066895 5183.6983001983 15.8190936720 10.4989032168 100.3040114045 176.9554750939 1715.5386242794 8.3948422129 1278.8600431542 1888.4769502521 21639.7615423824 16.3492524418 7.4370586141 226.8058068892 1.5522894060 386.0979995220 121.4035357076 18.2459531934 4288.0538961893 1...
result:
ok 800 numbers
Test #8:
score: 0
Accepted
time: 35ms
memory: 6628kb
input:
10 100 800 1.3175894920 1.2377319458 1.4641933114 1.3503200115 1.1285925026 1.4815063735 1.0789026817 1.1885103209 1.3966339158 1.1869655041 -1.0000000000 4.6015195578 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.000...
output:
560.0004360462 336.4411480955 7556.9701850490 7.0527014382 784.0493283756 3113.5121417772 5552.2171793074 8.9854113204 62.1903220142 12084.3725002845 1.4299975133 13337.5829729583 36.5054214937 21618.9839513739 69.5738854287 2.4627721177 3.3026128106 7174.3207531886 67.7684323803 1413.1039275505 21....
result:
ok 800 numbers
Test #9:
score: 0
Accepted
time: 34ms
memory: 4876kb
input:
10 100 800 1.0229245005 1.2237172315 1.3135991079 1.3393777895 1.2020081719 1.4538382518 1.4322652821 1.4068822581 1.0466032669 -1.0000000000 -1.0000000000 3.5573212846 2.4303986142 4.8018918640 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 2.2404459367 -1.00000...
output:
6.7183473322 117.1528485340 1537.2974329784 19.2454950492 516.4593332866 45.6626938721 28.6404566005 601.4516024218 5.0691285121 3.1916192551 8.9142950235 1238.6353958314 727.8060935594 63.0113636599 19380.6262518725 7.6186632682 17304.6162157873 4.6757321636 4577.3553749860 21.2580139130 2.02873898...
result:
ok 800 numbers
Test #10:
score: 0
Accepted
time: 30ms
memory: 5044kb
input:
10 100 800 1.2776330738 1.3262397787 1.0936173086 1.2506250361 1.2400873318 1.1721111311 1.2246621786 1.3638339615 1.1735227970 2.3274523768 -1.0000000000 -1.0000000000 -1.0000000000 3.1624258566 -1.0000000000 4.8259576984 -1.0000000000 2.0694932933 -1.0000000000 -1.0000000000 -1.0000000000 -1.00000...
output:
14.8672399346 159.0068670317 172.2203849997 4.4142829845 2167.6770290440 14.4905351671 8537.9044754195 28170.3415250840 12.1461513986 6.5680422017 3.6198204643 2023.1371474964 23.4556180358 23.5669697269 988.7142458991 23.4463788369 4.2911967833 1.1798484342 556.2714437364 17936.6290039865 418.59070...
result:
ok 800 numbers
Test #11:
score: 0
Accepted
time: 30ms
memory: 4816kb
input:
10 100 800 1.2713921167 1.3589950021 1.4646596382 1.0268993278 1.3347254135 1.1409169610 1.4976473069 1.1611135028 1.3759583622 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 4.3875847073 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.00...
output:
13.4080197158 139.1787517300 19113.0692077644 4.2038307697 13395.2826108364 1061.9595635573 2.1085504861 3788.7202614653 17.0085221508 40.4362808553 91.2183663173 2356.5134714954 1.0089091059 5.5958237503 2.4304445269 9.9197843328 3145.7128785000 992.9302757421 3.5128323109 4.6361227774 10128.874662...
result:
ok 800 numbers
Test #12:
score: 0
Accepted
time: 30ms
memory: 6204kb
input:
10 100 800 1.0501988692 1.0457193911 1.2072818261 1.1134012252 1.1453399136 1.2696923791 1.3947999503 1.1505678861 1.0705078222 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 -1.0000000000 4.9872342708 -1.0000000000 -1.0000000000 -1.0000000000 3.2735632693 -1.000...
output:
5.4933155689 36.4178054288 8.9891023301 13.2884218922 825.5103289509 2478.0840260501 10.2030126921 14.8420853813 335.2743404156 4662.9744064274 11145.1930906101 1.3338777646 2.7324271783 31.0333399157 8714.2015867378 35.3264223971 844.4680311000 61.6780459837 1020.4331653497 2.3704690099 13.09870280...
result:
ok 800 numbers
Test #13:
score: 0
Accepted
time: 34ms
memory: 6388kb
input:
10 100 800 1.1379620977 1.4484034825 1.0543961923 1.4376887816 1.4408356074 1.4038140736 1.2288980916 1.0276153023 1.1431729363 2.3050825918 -1.0000000000 -1.0000000000 -1.0000000000 1.6669517279 4.5758080971 -1.0000000000 -1.0000000000 1.0842605202 -1.0000000000 4.1978620846 -1.0000000000 -1.000000...
output:
903.5548533657 388.8621360767 10884.0900145111 245.8785523789 240.3021049449 24.1056454452 45.3446912474 531.9849606163 61.2018927907 14221.6291370521 5.9169526056 11567.6387510184 22155.2466561779 331.4073888825 2.7843716127 69.1177721427 172.6003232551 5286.6160232645 6.5943502382 39.5274551442 40...
result:
ok 800 numbers
Test #14:
score: -100
Wrong Answer
time: 0ms
memory: 4044kb
input:
6 4 24 -1 -1 1 1 1 -1 2 -1 -1 -1 -1 -1 -1 2 -1 -1 -1 -1 2 -1 -1 -1 2 -1 -1 2 -1 -1 -1 1 1 2 1 3 1 4 1 1 2 2 2 3 2 4 2 1 3 2 3 3 3 4 3 1 4 2 4 3 4 4 4 1 5 2 5 3 5 4 5 1 6 2 6 3 6 4 6
output:
2.0000000000 2.0000000000 1.0000000000 1.0000000000 2.0000000000 2.0000000000 1.0000000000 1.0000000000 2.0000000000 2.0000000000 1.0000000000 1.0000000000 2.0000000000 2.0000000000 1.0000000000 1.0000000000 2.0000000000 2.0000000000 1.0000000000 1.0000000000 2.0000000000 2.0000000000 1.0000000000 1...
result:
wrong answer 3rd numbers differ - expected: '-1.00000', found: '1.00000', error = '2.00000'