QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#524398#8007. Egg Drop Challengeucup-team497#RE 488ms204888kbC++173.5kb2024-08-19 17:09:162024-08-19 17:09:16

详细

Test #1:

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

input:

5
2 1 7
14 6 4
18 1 7
21 2 5
28 4 10

output:

6

result:

ok found '6.0000000', expected '6.0000000', error '0.0000000'

Test #2:

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

input:

2
1 1 4
10 5 1

output:

-1

result:

ok found '-1.0000000', expected '-1.0000000', error '-0.0000000'

Test #3:

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

input:

10
16 1 6
27 8 8
32 4 8
51 6 6
62 5 10
81 5 9
84 10 6
92 1 2
94 9 6
96 7 9

output:

12.85983098

result:

ok found '12.8598310', expected '12.8598310', error '0.0000000'

Test #4:

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

input:

100
96 20 27
119 4 12
270 5 24
594 3 10
614 8 19
688 7 5
798 14 36
983 2 27
1057 20 21
1266 6 30
1388 18 18
1520 2 12
1809 4 26
1960 17 40
2137 8 10
2274 3 30
2320 14 34
2357 6 2
2392 12 5
2518 14 2
2681 10 29
2701 9 15
2865 3 38
3008 9 17
3021 6 39
3194 9 24
3212 14 12
3233 19 3
3628 18 6
3772 1 37...

output:

-1

result:

ok found '-1.0000000', expected '-1.0000000', error '-0.0000000'

Test #5:

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

input:

1000
370 20 90
1387 5 16
2315 1 25
3657 24 78
4597 11 42
5558 11 95
6044 12 80
6577 15 40
7746 12 87
7978 22 63
9306 23 72
9957 9 51
10182 27 36
10895 12 51
12595 28 58
12924 5 4
13166 11 36
15206 9 66
15938 18 70
17654 4 71
19189 2 6
19903 22 77
20032 30 57
20493 3 51
23719 3 65
24490 17 31
25831 2...

output:

-1

result:

ok found '-1.0000000', expected '-1.0000000', error '-0.0000000'

Test #6:

score: 0
Accepted
time: 18ms
memory: 28748kb

input:

10000
8007 22 578
11024 369 551
19219 226 631
49583 226 629
72385 86 271
77173 257 574
78655 25 16
83483 301 820
100132 101 466
104988 267 221
105671 361 245
116034 132 421
127581 152 516
134693 356 423
137403 344 24
145224 29 785
177093 52 151
177351 98 252
187858 59 361
198082 220 525
200929 190 4...

output:

181483.4254

result:

ok found '181483.4254000', expected '181483.4253835', error '0.0000000'

Test #7:

score: 0
Accepted
time: 25ms
memory: 30728kb

input:

10000
13126 270 1489
26908 146 526
31808 317 439
37014 228 17
38133 343 524
42564 33 1534
52311 365 330
55177 188 639
56700 324 125
64335 252 1502
72034 342 210
74586 141 1355
74684 192 540
81341 221 668
83265 290 976
100618 352 1480
106923 306 201
111018 317 876
122964 105 709
136538 271 710
139072...

output:

111027.6704

result:

ok found '111027.6704000', expected '111027.6703520', error '0.0000000'

Test #8:

score: 0
Accepted
time: 23ms
memory: 28628kb

input:

10000
1246 196 852
5373 81 693
11983 280 51
14659 300 364
19938 49 374
33283 163 585
52313 358 720
57071 189 416
58853 191 8
60880 375 114
63011 252 938
65547 65 213
77644 318 117
82898 272 474
94163 268 835
100416 218 534
102725 304 948
123894 396 89
136799 167 571
144790 7 538
148178 309 751
15246...

output:

166264.5904

result:

ok found '166264.5904000', expected '166264.5904005', error '0.0000000'

Test #9:

score: 0
Accepted
time: 70ms
memory: 41356kb

input:

20000
4005279410235 932144073 846501600
246203983392304 987850080 1000000000
253308227561395 949883486 905152286
304849760557616 1000000000 900558667
341777344771231 1000000000 958632875
344792803914679 904989873 925199910
374645189833605 1000000000 903348322
413848740943401 1000000000 905002905
475...

output:

1445918118

result:

ok found '1445918118.0000000', expected '1445918117.8858886', error '0.0000000'

Test #10:

score: 0
Accepted
time: 39ms
memory: 19548kb

input:

100000
7227341 4112 11151
9859161 3755 8103
17959892 9072 18419
26090703 6454 3358
41739292 5493 9955
51699016 2640 18380
62644366 8934 3772
72887012 8788 17167
75856403 8845 17983
105340932 2253 10217
107739289 9179 5360
123488772 6910 12512
132949057 8514 1750
136920835 6731 606
198581634 393 8317...

output:

-1

result:

ok found '-1.0000000', expected '-1.0000000', error '-0.0000000'

Test #11:

score: 0
Accepted
time: 263ms
memory: 180700kb

input:

100000
5697037 6188 24679
14660775 972 2050
24738650 7602 26430
25414807 3840 10516
43086981 3336 4860
61865744 7890 20685
62135330 11827 11152
71771431 4448 7059
79798632 6709 560
80046776 5935 29566
83912983 7825 11190
107806439 246 17273
119010434 12746 9969
123624778 5767 17750
129300668 7917 21...

output:

54657178.7

result:

ok found '54657178.7000000', expected '54657178.6989424', error '0.0000000'

Test #12:

score: 0
Accepted
time: 312ms
memory: 182752kb

input:

100000
164100 23141 21552
47832335 11533 6011
63239412 5132 26597
86348248 32538 14743
92627428 20541 762
93906742 26994 19804
96457126 30871 8819
102099595 17469 21810
126027178 18088 32883
130086119 31906 9404
134525306 34544 11245
134744131 30523 26713
139029607 27202 9068
140285575 34350 17325
1...

output:

34685285.96

result:

ok found '34685285.9600000', expected '34685285.9624431', error '0.0000000'

Test #13:

score: 0
Accepted
time: 406ms
memory: 106944kb

input:

100000
6648420020 2663700 773806662
11323615387 2189541 765681404
20121686908 151830778 70618387
33614262627 470219924 75984615
69359662748 363924816 80795475
70915269183 225676003 98632793
86923518210 493627293 93106881
89829125615 4501974 480219393
92371862187 373962899 1814117
109190343813 148425...

output:

2005796.628

result:

ok found '2005796.6280000', expected '2005796.6282798', error '0.0000000'

Test #14:

score: 0
Accepted
time: 471ms
memory: 152712kb

input:

100000
1659547604 313014 96425275
2072277024 29698151 8934665
20897723503 141753 17468095
28706891133 427929 98016974
38208884972 86172 77990971
66395135530 17797814 22157
73462147262 851125 5624037
81148242912 15635804 970117
96243170601 26549957 6313231
102136603726 20838372 5794091
134681419643 2...

output:

17292211.86

result:

ok found '17292211.8600000', expected '17292211.8647288', error '0.0000000'

Test #15:

score: 0
Accepted
time: 359ms
memory: 187376kb

input:

100000
32926470052 43529 9189311
35858175194 26862 824981
41426548891 485540 196235
45657525179 3739810 62894
47076931471 21861 6610581
49901659792 284 1419939
64203226958 1137823 377328
64561024668 33966 5226517
69785468202 14879 8653486
86740727433 14574 5034454
101757484163 1203550 999881
1163463...

output:

140590275.9

result:

ok found '140590275.9000000', expected '140590275.8925164', error '0.0000000'

Test #16:

score: 0
Accepted
time: 45ms
memory: 28052kb

input:

100000
6339561073 22858 552066
16814837044 2790 100979
21694884913 329931 66975
29967054154 1161 503257
45190458535 475003 97375
56577569615 2222 331862
59658042186 3573 824289
66004351872 4631 54622
79419761298 3543 606429
86234063177 335802 35407
88396692369 3957 892475
90680866377 553 982372
1113...

output:

-1

result:

ok found '-1.0000000', expected '-1.0000000', error '-0.0000000'

Test #17:

score: 0
Accepted
time: 38ms
memory: 20060kb

input:

100000
3447834310 187717 276585
3531382770 3806 110098
4399606107 43025 15601
44100005915 452431 21634
56689641288 113257 3472
59570759525 105259 26961
73252665504 4261 16009
75711788291 490239 19367
77077325179 373216 12687
90177030949 350406 3372
111193359679 83931 3527
115921498363 3097 65426
130...

output:

-1

result:

ok found '-1.0000000', expected '-1.0000000', error '-0.0000000'

Test #18:

score: 0
Accepted
time: 295ms
memory: 204888kb

input:

100000
13227947628 455895 498495
16746902813 472177 486874
45726326814 480128 453295
56164383926 450971 456997
57897159700 472089 487567
71501076783 500000 500000
102404177869 500000 474234
121923846224 478494 500000
129826609821 500000 488029
147490731457 470309 494810
149446924149 500000 500000
15...

output:

2157355569

result:

ok found '2157355569.0000000', expected '2157355568.9925303', error '0.0000000'

Test #19:

score: 0
Accepted
time: 488ms
memory: 151568kb

input:

100000
39997630501081 1000000000 946016527
45749326627784 975207618 903396854
47599535530176 910305380 901309617
67467301148414 933381283 873487313
92840558246244 943356764 896524131
100822482468300 1000000000 911943695
101635579691125 1000000000 962211108
102398564821149 969333800 1000000000
109172...

output:

1108799546

result:

ok found '1108799546.0000000', expected '1108799545.8065085', error '0.0000000'

Test #20:

score: -100
Runtime Error

input:

300000
1415239 8424 27507
1553363 9978 22288
4589255 6976 24113
10342731 2863 20843
19320823 7024 2979
31383607 11886 7395
34022897 9010 3074
34080783 8748 18293
34993285 499 6868
41132044 8561 27872
42174500 3063 19956
47567134 2006 19354
54026291 1105 3521
54285630 9005 24540
60039415 4843 9132
60...

output:


result: