QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#318487#8007. Egg Drop ChallengeflowerTL 2969ms94232kbC++204.8kb2024-01-31 11:34:062024-01-31 11:34:07

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 8ms
memory: 80360kb

input:

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

output:

6.0000000000

result:

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

Test #2:

score: 0
Accepted
time: 15ms
memory: 80328kb

input:

2
1 1 4
10 5 1

output:

-1.0000000000

result:

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

Test #3:

score: 0
Accepted
time: 8ms
memory: 80312kb

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.8598309770

result:

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

Test #4:

score: 0
Accepted
time: 8ms
memory: 80340kb

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.0000000000

result:

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

Test #5:

score: 0
Accepted
time: 3ms
memory: 80504kb

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.0000000000

result:

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

Test #6:

score: 0
Accepted
time: 224ms
memory: 81684kb

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.4253834856

result:

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

Test #7:

score: 0
Accepted
time: 281ms
memory: 81720kb

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.6703520187

result:

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

Test #8:

score: 0
Accepted
time: 232ms
memory: 81680kb

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.5904004843

result:

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

Test #9:

score: 0
Accepted
time: 322ms
memory: 83080kb

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:

1445918117.8858873990

result:

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

Test #10:

score: 0
Accepted
time: 93ms
memory: 92620kb

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.0000000000

result:

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

Test #11:

score: 0
Accepted
time: 2743ms
memory: 94212kb

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.6989422797

result:

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

Test #12:

score: 0
Accepted
time: 2088ms
memory: 92996kb

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.9624432012

result:

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

Test #13:

score: 0
Accepted
time: 2969ms
memory: 94232kb

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.6282797780

result:

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

Test #14:

score: -100
Time Limit Exceeded

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:


result: