QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#318389#8007. Egg Drop ChallengeflowerTL 418ms10288kbC++201.2kb2024-01-31 09:37:262024-01-31 09:37:26

詳細信息

Test #1:

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

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: 1ms
memory: 8032kb

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: 1ms
memory: 8032kb

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: 1ms
memory: 10024kb

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: 1ms
memory: 8000kb

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: 37ms
memory: 10108kb

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

result:

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

Test #7:

score: 0
Accepted
time: 36ms
memory: 7920kb

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: 36ms
memory: 8100kb

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: 0
Accepted
time: 418ms
memory: 10288kb

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

result:

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

Test #10:

score: -100
Time Limit Exceeded

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:


result: