QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#318410#8007. Egg Drop ChallengeflowerWA 212ms31572kbC++202.2kb2024-01-31 09:55:312024-01-31 09:55:32

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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: 0ms
memory: 29532kb

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: 0ms
memory: 29820kb

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: 0ms
memory: 30048kb

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: 29336kb

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: 39ms
memory: 31420kb

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

result:

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

Test #7:

score: 0
Accepted
time: 31ms
memory: 30228kb

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: 35ms
memory: 29664kb

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

result:

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

Test #9:

score: -100
Wrong Answer
time: 212ms
memory: 31572kb

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:

1445936711.4845385551

result:

wrong answer 1st numbers differ - expected: '1445918117.8858886', found: '1445936711.4845386', error = '0.0000129'