#15

by asd

Submitted 4 years 10 months 1 day ago
Tue Jan 14 20:36:00 CST 2020
Judger: ZJS
Dataset Version: v0

217 ms / 6920 KB
Final 75
Problem: lss1.clock
Language: GNU C++ 11


#1

15ms / 6916KB / Accepted
Input
0 0 1
0 1 1
0 2 1
0 3 1
0 4 1
0 5 1
0 6 1
0 7 1
0 8 1
0 9 1
0 10 1
0 11 1
0 12 1
0 13 1
0 14 1
0 15 1
0 16 1
0 17 1
0 18 1
0 19 1
0 20 1
0 21 1
0 22 1
0 23 1
0 24 1
0 25 1
0 26 1
0 27 1
0 28 1
0 29 1
0 30 1
0 31 1
0 32 1
0 33 1
0 34 1
0 35 1
0 36 1
0 37 1
0 38 1
0 39 1
0 40 1
0 41 1
0 42 1
0 43 1
0 44 1
0 45 1
0 46 1
0 47 1
0 48 1
0 49 1
0 50 1
0 51 1
0 52 1
0 53 1
0 54 1
0 55 1
0 56 1
0 57 1
0 58 1
0 59 1
1 0 1
1 1 1
1 2 1
1 3 1
1 4 1
1 5 1
1 6 1
1 7 1
1 8 1
1 9 1
1 10 1
1 11 1
1 12 1
1 13 1
1 14 1
1 15 1
1 16 1
1 17 1
1 18 1
1 19 1
1 20 1
1 21 1
1 22 1
1 23 1
1 24 1
1 25 1
1 26 1
1 27 1
1 28 1
1 29 1
1 30 1
1 31 1
1 32 1
1 33 1
1 34 1
1 35 1
1 36 1
1 37 1
1 38 1
1 39 1
1 40 1
1 41 1
1 42 1
1 43 1
1 44 1
1 45 1
1 46 1
1 47 1
1 48 1
1 49 1
1 50 1
1 51 1
1 52 1
1 53 1
1 54 1
1 55 1
1 56 1
1 57 1
1 58 1
1 59 1
2 0 1
2 1 1
2 2 1
2 3 1
2 4 1
2 5 1
2 6 1
2 7 1
2 8 1
2 9 1
2 10 1
2 11 1<...>
Output
0.0000000000
64.4545454545
63.4545454545
62.4545454545
61.4545454545
60.4545454545
59.4545454545
58.4545454545
57.4545454545
56.4545454545
55.4545454545
54.4545454545
53.4545454545
52.4545454545
51.4545454545
50.4545454545
49.4545454545
48.4545454545
47.4545454545
46.4545454545
45.4545454545
44.4545454545
43.4545454545
42.4545454545
41.4545454545
40.4545454545
39.4545454545
38.4545454545
37.4545454545
36.4545454545
35.4545454545
34.4545454545
33.4545454545
32.4545454545
31.4545454545
30.4545454545
29.4545454545
28.4545454545
27.4545454545
26.4545454545
25.4545454545
24.4545454545
23.4545454545
22.4545454545
21.4545454545
20.4545454545
19.4545454545
18.4545454545
17.4545454545
16.4545454545
15.4545454545
14.4545454545
13.4545454545
12.4545454545
11.4545454545
10.4545454545
9.4545454545
8.4545454545
7.4545454545
6.4545454545
5.4545454545
4.4545454545
3.4545454545
2.4545454545
1.4545454545
0.4545454545
64.9090909091
63.9090909091
62.9090909091
<...>
Answer
0.0000000000
64.4545454545
63.4545454545
62.4545454545
61.4545454545
60.4545454545
59.4545454545
58.4545454545
57.4545454545
56.4545454545
55.4545454545
54.4545454545
53.4545454545
52.4545454545
51.4545454545
50.4545454545
49.4545454545
48.4545454545
47.4545454545
46.4545454545
45.4545454545
44.4545454545
43.4545454545
42.4545454545
41.4545454545
40.4545454545
39.4545454545
38.4545454545
37.4545454545
36.4545454545
35.4545454545
34.4545454545
33.4545454545
32.4545454545
31.4545454545
30.4545454545
29.4545454545
28.4545454545
27.4545454545
26.4545454545
25.4545454545
24.4545454545
23.4545454545
22.4545454545
21.4545454545
20.4545454545
19.4545454545
18.4545454545
17.4545454545
16.4545454545
15.4545454545
14.4545454545
13.4545454545
12.4545454545
11.4545454545
10.4545454545
9.4545454545
8.4545454545
7.4545454545
6.4545454545
5.4545454545
4.4545454545
3.4545454545
2.4545454545
1.4545454545
0.4545454545
64.9090909091
63.9090909091
62.9090909091
61.9090909091
60.9090909091
59.9090909091
58.9090909091
57.9090909091<...>
Checker Information
720 numbers

#1

171ms / 6916KB / Accepted
Input
11 48 23780
7 36 16129
8 27 8201
7 13 23911
8 44 17633
8 9 8626
10 28 7149
1 42 21273
4 10 31655
8 56 24965
11 4 23700
2 40 26766
11 54 21297
7 42 30655
4 46 6045
3 27 13388
2 49 6417
4 0 10190
1 15 28548
7 3 11420
5 33 26637
4 52 13268
11 7 30941
9 53 27193
7 59 12277
7 5 22640
6 4 15312
6 30 20541
0 26 4038
8 36 7119
8 44 28117
8 46 17735
7 21 24068
1 40 15347
6 26 24496
11 19 27121
9 28 31571
4 49 18498
6 51 23470
6 37 30832
5 34 19288
1 33 12881
0 5 28704
0 9 14732
8 25 28622
0 24 25073
9 17 25112
0 1 15043
7 6 8683
7 33 6266
6 44 17506
2 30 12728
11 40 17909
11 28 12119
5 27 28357
4 21 14561
0 4 5407
4 17 32210
10 11 20859
3 35 20848
5 26 31145
11 21 29216
7 46 24813
10 0 22145
7 21 31030
1 32 10671
4 36 5555
3 29 19844
5 59 18800
9 15 5295
1 57 15563
4 17 16365
7 16 27353
0 4 28894
9 36 5143
6 32 2586
2 37 26100
3 27 10135
1 44 28444
3 1 19332
11 20 1684
9 2 23325
8 33 24568
10 38 25642
6 30 12675
7 3 12068
8 37 8356
<...>
Output
1556455.6250000000
1055653.0568181819
536743.8863636364
1565043.3068181819
1154159.5909090908
564580.0738636364
467895.6392045455
1392377.9090909092
2071909.9431818181
1634060.3409090908
1551263.2500000000
1751927.2386363635
1393926.0000000000
2006505.2613636365
395648.5227272727
876294.8181818182
419983.7073863636
666938.1931818182
1868586.7840909092
747460.6193181818
1743506.9772727273
868420.7102272727
2025216.6250000000
1779901.5454545454
803564.6363636364
1481858.5568181819
1002203.2272727273
1344439.1022727273
264279.4545454545
465913.0738636364
1840385.0909090908
1160833.9659090908
1575311.6818181819
1004496.3465909091
1603315.7272727273
1775168.2500000000
2066421.0909090908
1210751.0227272727
1536199.9318181819
2018090.1818181819
1262480.4772727273
843092.4090909091
1878802.2045454546
964267.3295454546
1873393.1363636365
1641117.8295454546
1643661.0909090908
984631.7045454546
568308.5568181818
410077.9005681818
1145835.9318181819
833086.3636363636
11<...>
Answer
1556455.6250000000
1055653.0568181819
536743.8863636364
1565043.3068181819
1154159.5909090908
564580.0738636364
467895.6392045455
1392377.9090909092
2071909.9431818181
1634060.3409090908
1551263.2500000000
1751927.2386363635
1393926.0000000000
2006505.2613636365
395648.5227272727
876294.8181818182
419983.7073863636
666938.1931818182
1868586.7840909092
747460.6193181818
1743506.9772727273
868420.7102272727
2025216.6250000000
1779901.5454545454
803564.6363636364
1481858.5568181819
1002203.2272727273
1344439.1022727273
264279.4545454545
465913.0738636364
1840385.0909090908
1160833.9659090908
1575311.6818181819
1004496.3465909091
1603315.7272727273
1775168.2500000000
2066421.0909090908
1210751.0227272727
1536199.9318181819
2018090.1818181819
1262480.4772727273
843092.4090909091
1878802.2045454546
964267.3295454546
1873393.1363636365
1641117.8295454546
1643661.0909090908
984631.7045454546
568308.5568181818
410077.9005681818
1145835.9318181819
833086.3636363636
1172180.0000000000
793210.1875000000
1856029.272727272<...>
Checker Information
100000 numbers

#2

124ms / 6920KB / Accepted
Input
1 3 19584
7 23 18310
5 42 10245
6 16 26705
0 38 29061
8 10 29075
11 40 27224
4 28 28341
6 15 11976
2 5 26080
2 30 15789
5 42 17097
5 26 16239
11 5 15941
4 52 61
11 59 10964
0 45 16278
3 40 11683
4 19 11133
2 47 26816
7 44 10219
3 7 18028
8 36 29531
1 10 16076
8 17 24458
8 2 26738
10 31 16825
9 24 14705
11 41 26
3 5 25076
11 43 18986
7 4 27284
0 4 10279
11 52 4069
5 58 12779
8 5 493
7 26 30658
5 53 2431
0 32 2084
0 42 28342
3 38 4951
10 41 8967
4 51 2655
8 33 30360
6 38 18637
2 41 21474
9 14 29000
8 19 28114
4 23 13028
9 50 19416
3 14 16806
8 30 31914
2 6 30410
7 59 17319
3 57 23961
5 41 7704
5 0 30718
0 18 21707
10 2 21013
11 19 17329
11 55 7785
8 36 25739
5 32 7327
8 19 19153
10 5 2746
4 21 28231
5 54 25925
8 44 12043
11 41 21761
2 32 14592
0 51 26851
3 53 9685
6 47 12686
1 43 17447
4 14 3987
3 23 3950
11 35 6155
8 9 30634
7 40 27508
3 16 26899
2 54 18648
11 40 25404
11 18 7072
7 38 11363
11 44 19622
7 14 6372
7 16 20327
1<...>
Output
1281798.8295454546
1198422.4318181819
670567.1022727273
1747914.8522727273
1902136.4545454546
1903059.0113636365
1781889.0000000000
1855041.0227272727
783835.9147727273
1706994.9090909092
1033442.6761363636
1119061.6022727273
1062852.1477272727
1043400.4375000000
3962.5454323509
717579.1875000000
1065424.0795454546
764681.8181818182
728642.8181818182
1755192.9886363635
668874.1988636364
1179958.4886363635
1932880.2613636365
1052242.6590909092
1600848.3863636365
1750099.7613636365
1101230.7954545454
962468.7159090909
1655.3636474609
1641284.1136363635
1242671.5000000000
1785830.5568181819
672803.2670454546
266277.0937500000
836412.9147727273
32242.2711292614
2006652.1818181819
159094.2741477273
136375.2670454546
1855070.7045454546
324043.8181818182
586878.9829545454
173752.6321022727
1987145.1363636365
1219871.0568181819
1405540.7386363635
1898151.4659090908
1840148.2613636365
852740.6477272727
1270864.5454545454
1099965.9886363635
2088864.5113636365
1990412.<...>
Answer
1281798.8295454546
1198422.4318181819
670567.1022727273
1747914.8522727273
1902136.4545454546
1903059.0113636365
1781889.0000000000
1855041.0227272727
783835.9147727273
1706994.9090909092
1033442.6761363636
1119061.6022727273
1062852.1477272727
1043400.4375000000
3962.5454323509
717579.1875000000
1065424.0795454546
764681.8181818182
728642.8181818182
1755192.9886363635
668874.1988636364
1179958.4886363635
1932880.2613636365
1052242.6590909092
1600848.3863636365
1750099.7613636365
1101230.7954545454
962468.7159090909
1655.3636474609
1641284.1136363635
1242671.5000000000
1785830.5568181819
672803.2670454546
266277.0937500000
836412.9147727273
32242.2711292614
2006652.1818181819
159094.2741477273
136375.2670454546
1855070.7045454546
324043.8181818182
586878.9829545454
173752.6321022727
1987145.1363636365
1219871.0568181819
1405540.7386363635
1898151.4659090908
1840148.2613636365
852740.6477272727
1270864.5454545454
1099965.9886363635
2088864.5113636365
1990412.1590909092
1133586.3863636365
1568315.6931818181
504<...>
Checker Information
100000 numbers

#3

155ms / 6916KB / Accepted
Input
3 4 12969
10 18 14800
6 33 17932
3 35 7362
10 42 5269
6 32 692
4 51 14550
5 33 14621
0 9 20037
9 16 20294
4 38 15472
8 35 8418
11 3 25352
6 24 21746
2 17 24237
2 1 3356
10 7 11396
10 0 264
11 12 1789
7 43 7768
2 28 82
9 57 20815
4 41 12199
9 54 9045
10 3 19415
6 21 13258
0 44 23368
8 37 1263
10 19 16996
5 46 31178
7 24 651
1 28 845
0 2 31121
11 52 10804
4 32 30250
0 49 12361
10 37 4054
3 56 16147
10 4 28964
7 3 21279
2 10 14698
1 18 6752
5 48 22335
5 44 8537
11 45 20319
4 26 15888
5 34 23489
3 10 30970
4 38 15614
1 3 4958
8 54 3178
5 46 2025
11 34 26464
1 52 19802
4 55 31924
8 25 3231
7 33 27469
2 3 12978
4 35 3405
11 39 7187
1 2 19800
1 19 23231
4 8 3028
2 28 6373
4 23 30779
2 41 10707
6 14 9939
11 7 18378
4 51 9583
5 30 6336
7 36 29181
0 1 11575
9 30 3087
7 47 5035
9 27 30377
4 36 8272
11 56 29166
5 44 31762
6 19 3213
6 45 16147
4 41 31478
1 25 6683
5 43 30398
11 31 12224
1 31 21187
5 27 2335
4 32 231
6 44 23434
6 24 320<...>
Output
848826.8636363636
968698.3579545454
1173730.5568181819
481857.7244318182
344827.0767045455
45229.8171164773
952334.4602272727
957005.1647727273
1311503.7045454546
1328302.2159090908
1012696.5227272727
550939.5113636364
1659395.1250000000
1423317.7272727273
1586415.7386363635
219609.9090909091
745902.0454545454
17269.0903764205
117080.7265625000
508446.0738636364
5350.1815074574
1362428.4204545454
798460.7727272727
592031.4204545454
1270786.0454545454
867742.6022727273
1529497.8295454546
82610.2691761364
1112435.5454545454
2040723.1022727273
42559.6349431818
55286.5458096591
2037008.8295454546
707113.4375000000
1979989.7727272727
809034.6420454546
265304.8267045455
1056854.9431818181
1895810.5454545454
1392776.9318181819
961986.3465909091
441936.5340909091
1461906.4772727273
558768.7272727273
1329920.3750000000
1039937.5852272727
1537455.1022727273
2027068.1136363635
1021991.0852272727
324460.6420454545
208004.1846590909
132526.7272727273
1732149.6250000000
<...>
Answer
848826.8636363636
968698.3579545454
1173730.5568181819
481857.7244318182
344827.0767045455
45229.8171164773
952334.4602272727
957005.1647727273
1311503.7045454546
1328302.2159090908
1012696.5227272727
550939.5113636364
1659395.1250000000
1423317.7272727273
1586415.7386363635
219609.9090909091
745902.0454545454
17269.0903764205
117080.7265625000
508446.0738636364
5350.1815074574
1362428.4204545454
798460.7727272727
592031.4204545454
1270786.0454545454
867742.6022727273
1529497.8295454546
82610.2691761364
1112435.5454545454
2040723.1022727273
42559.6349431818
55286.5458096591
2037008.8295454546
707113.4375000000
1979989.7727272727
809034.6420454546
265304.8267045455
1056854.9431818181
1895810.5454545454
1392776.9318181819
961986.3465909091
441936.5340909091
1461906.4772727273
558768.7272727273
1329920.3750000000
1039937.5852272727
1537455.1022727273
2027068.1136363635
1021991.0852272727
324460.6420454545
208004.1846590909
132526.7272727273
1732149.6250000000
1296084.2840909092
2089537.6477272727
211436.80823863<...>
Checker Information
100000 numbers

#4

202ms / 6920KB / Accepted
Input
2 7 11641
11 11 2390
0 2 27767
10 2 2932
5 42 2731
2 57 12555
8 43 29759
11 11 22407
11 42 3382
9 11 23086
7 42 6196
0 18 29841
8 32 24468
10 7 20667
9 56 7366
0 13 20829
10 19 2037
3 19 1910
6 59 28252
7 40 28
7 37 14298
4 48 630
7 27 29850
7 42 16141
8 49 29172
4 52 10481
9 25 468
3 9 1647
8 35 8766
11 11 2633
4 4 6865
11 57 18347
10 29 1112
6 46 25175
11 6 4804
11 4 18877
10 0 29734
11 56 26871
2 33 14215
7 24 20195
1 30 1193
4 40 14547
0 4 2585
10 50 28553
8 19 31004
7 11 22900
3 44 16218
9 3 22131
6 6 31826
8 38 14469
5 15 1284
3 35 18987
9 22 12879
4 48 7785
0 50 18157
0 40 12204
2 13 36
4 26 27136
5 53 28795
11 24 29264
3 44 9743
1 38 8117
0 39 26215
8 23 31991
8 39 2002
10 56 6091
7 55 13493
8 0 12408
2 10 16211
9 30 22504
0 51 11506
10 37 844
5 16 21876
2 24 25569
0 7 28848
10 4 13944
3 16 15668
1 11 4552
3 48 9279
5 43 19387
5 6 27910
5 2 11571
4 58 17836
4 16 10488
0 7 12913
6 42 30158
5 39 25599
8 18 5350
9 7 7<...>
Output
761894.7840909091
156419.9062500000
1817474.3295454546
191899.8110795454
178741.6335227273
821735.7386363636
1947797.0113636365
1466623.5000000000
221319.8125000000
1511056.2159090908
405552.5426136364
1953211.0795454546
1601488.0113636365
1352731.1704545454
482131.2642045455
1363339.7045454546
133300.9985795454
125015.5447443182
1849195.5568181819
1830.9090687145
935804.8068181818
41210.1828835227
1953763.8068181819
1056498.0113636365
1909434.5909090908
685998.8977272727
30591.3623934659
107745.5433238636
573717.6988636364
172325.3593750000
449297.8181818182
1200832.1250000000
72745.5454545455
1647804.9318181819
314432.1875000000
1235576.0000000000
1946214.5454545454
1758767.6250000000
930414.2386363636
1321803.3068181819
78062.7294034091
952149.0852272727
169196.0014204546
1868862.6704545454
2029311.8863636365
1498870.8068181819
1061514.1931818181
1448555.0909090908
2083117.6022727273
947001.9488636364
83990.4524147727
1242766.8181818181
842950.7159090909
<...>
Answer
761894.7840909091
156419.9062500000
1817474.3295454546
191899.8110795454
178741.6335227273
821735.7386363636
1947797.0113636365
1466623.5000000000
221319.8125000000
1511056.2159090908
405552.5426136364
1953211.0795454546
1601488.0113636365
1352731.1704545454
482131.2642045455
1363339.7045454546
133300.9985795454
125015.5447443182
1849195.5568181819
1830.9090687145
935804.8068181818
41210.1828835227
1953763.8068181819
1056498.0113636365
1909434.5909090908
685998.8977272727
30591.3623934659
107745.5433238636
573717.6988636364
172325.3593750000
449297.8181818182
1200832.1250000000
72745.5454545455
1647804.9318181819
314432.1875000000
1235576.0000000000
1946214.5454545454
1758767.6250000000
930414.2386363636
1321803.3068181819
78062.7294034091
952149.0852272727
169196.0014204546
1868862.6704545454
2029311.8863636365
1498870.8068181819
1061514.1931818181
1448555.0909090908
2083117.6022727273
947001.9488636364
83990.4524147727
1242766.8181818181
842950.7159090909
509537.4289772727
1188408.2045454546
798767.26704545<...>
Checker Information
100000 numbers

#5

171ms / 6920KB / Accepted
Input
1 47 32519
0 35 23953
9 28 4509
3 58 22813
10 19 5214
11 32 19602
11 55 19818
10 27 17196
3 52 17076
5 59 30480
9 18 5202
4 32 17294
5 44 15020
1 47 15002
9 45 26719
10 26 16848
4 5 7679
11 57 23140
10 31 20980
5 53 21699
10 51 31003
4 22 31704
1 25 19723
7 21 3371
7 35 29433
11 17 27230
0 10 12982
11 15 9641
9 46 20287
4 52 11882
6 57 23252
11 44 17382
11 26 7830
8 23 17351
2 6 29202
3 5 14081
9 29 14668
5 23 31522
10 3 16420
4 12 24377
9 50 24620
0 12 21209
6 15 23108
3 58 10974
8 24 8093
0 4 21252
6 12 32236
3 38 21620
3 48 20729
1 21 14532
10 45 4047
5 21 20009
1 52 22063
10 45 31947
3 8 31516
1 55 1657
1 25 27547
6 13 300
7 5 27894
8 45 29214
11 37 11300
9 17 29284
1 28 10286
9 3 1853
3 52 9111
2 2 10151
8 13 27970
4 32 5583
1 42 2883
4 12 3695
1 17 12954
2 41 10572
1 19 3285
6 21 27970
6 10 10497
0 46 24478
11 43 10101
6 50 2499
0 52 18529
6 23 24900
0 0 4897
1 29 32251
11 6 24770
5 10 26309
9 4 15944
3 19 18664
1 7 27<...>
Output
2128474.6590909092
1567797.7045454546
295090.1846590909
1493172.8181818181
341250.0767045455
1283002.5000000000
1297117.7500000000
1125518.4204545454
1117666.1931818181
1995022.7272727273
340460.1846590909
1131960.6477272727
983110.5397727273
981907.5340909091
1748818.5909090908
1102741.2954545454
502576.8181818182
1514555.7500000000
1373194.4204545454
1420272.4772727273
2029225.2954545454
2075170.6477272727
1290940.4090909092
220598.9943181818
1926461.3068181819
1782304.7500000000
849720.8920454546
631026.8125000000
1327813.9659090908
777700.7102272727
1521924.8068181819
1137681.3750000000
512477.6250000000
1135657.0113636365
1911343.0340909092
921611.3636363636
960041.9034090909
2063196.8977272727
1074749.6704545454
1595529.8181818181
1611489.9204545454
1388213.4545454546
1512475.8522727273
718256.5056818182
529677.8238636364
1391035.9545454546
2109947.9772727271
1415105.5681818181
1356775.5681818181
951169.9090909091
264838.6392045455
1309620.7727272727
1<...>
Answer
2128474.6590909092
1567797.7045454546
295090.1846590909
1493172.8181818181
341250.0767045455
1283002.5000000000
1297117.7500000000
1125518.4204545454
1117666.1931818181
1995022.7272727273
340460.1846590909
1131960.6477272727
983110.5397727273
981907.5340909091
1748818.5909090908
1102741.2954545454
502576.8181818182
1514555.7500000000
1373194.4204545454
1420272.4772727273
2029225.2954545454
2075170.6477272727
1290940.4090909092
220598.9943181818
1926461.3068181819
1782304.7500000000
849720.8920454546
631026.8125000000
1327813.9659090908
777700.7102272727
1521924.8068181819
1137681.3750000000
512477.6250000000
1135657.0113636365
1911343.0340909092
921611.3636363636
960041.9034090909
2063196.8977272727
1074749.6704545454
1595529.8181818181
1611489.9204545454
1388213.4545454546
1512475.8522727273
718256.5056818182
529677.8238636364
1391035.9545454546
2109947.9772727271
1415105.5681818181
1356775.5681818181
951169.9090909091
264838.6392045455
1309620.7727272727
1444077.0340909092
2091020.4204545454
2062808.3636363<...>
Checker Information
100000 numbers

#6

108ms / 6916KB / Accepted
Input
6 17 3435
7 19 4599
7 27 12248
7 7 15990
0 44 22086
6 44 6464
5 28 14639
3 52 18756
11 1 27093
7 29 19045
0 48 30754
4 16 10128
1 46 24038
1 38 3974
6 17 13137
3 21 31914
5 28 24252
6 9 18250
5 28 9754
6 2 30470
6 57 21166
11 1 21357
11 23 2003
4 36 23785
3 48 5119
3 15 20105
8 13 28485
10 11 24149
7 49 23807
6 42 29988
6 49 20075
3 12 22582
6 48 16993
9 47 3578
2 0 619
2 25 29900
0 10 22495
1 11 23948
9 28 13268
3 19 21851
6 34 23308
1 4 28905
9 14 793
4 8 12561
0 12 120
10 25 19386
1 2 15694
8 14 5431
2 49 16137
2 35 17811
11 32 5409
0 27 12955
10 54 13720
1 29 8824
9 48 7194
8 57 25660
9 13 1738
6 46 12974
11 5 30742
1 47 23351
4 41 18225
9 36 1476
3 23 4353
5 33 7153
1 8 22947
4 43 31968
9 4 13011
6 57 14469
10 47 21977
4 1 18509
8 7 24524
3 59 29807
2 53 21834
10 25 7237
1 21 20211
7 35 15738
10 40 16969
10 29 10491
11 29 21195
3 25 9702
10 45 1373
7 44 8684
10 44 9304
3 12 19421
8 10 11488
3 30 24678
0 55 20049
5 46 2<...>
Output
224786.6335227273
300979.1818181818
801632.9943181818
1046583.8693181818
1445585.0795454546
423086.9005681818
958188.3522727273
1227629.8181818181
1773353.5000000000
1246525.5568181819
2012941.0795454546
662864.0056818182
1573355.7840909092
260083.8153409091
859826.6022727273
2088911.6931818181
1587402.8522727273
1194503.7272727273
638442.9147727273
1994365.2272727273
1385386.5568181819
1397906.2500000000
131077.0000000000
1556822.1477272727
335030.1619318182
1315899.4886363635
1864437.8863636365
1580639.9204545454
1558265.5113636365
1962841.5568181819
1313983.6818181819
1478033.3636363635
1112253.8068181819
234132.9971590909
40461.8192471591
1957076.7386363635
1472389.9545454546
1567499.9090909092
868406.5284090909
1430244.5681818181
1525613.1818181819
1891899.5795454546
51875.0909090909
822122.8806818182
7842.5453657670
1268865.9204545454
1027181.6420454546
355447.8238636364
1056201.8636363635
1165786.7386363635
354006.1875000000
847936.6420454546
897971.4<...>
Answer
224786.6335227273
300979.1818181818
801632.9943181818
1046583.8693181818
1445585.0795454546
423086.9005681818
958188.3522727273
1227629.8181818181
1773353.5000000000
1246525.5568181819
2012941.0795454546
662864.0056818182
1573355.7840909092
260083.8153409091
859826.6022727273
2088911.6931818181
1587402.8522727273
1194503.7272727273
638442.9147727273
1994365.2272727273
1385386.5568181819
1397906.2500000000
131077.0000000000
1556822.1477272727
335030.1619318182
1315899.4886363635
1864437.8863636365
1580639.9204545454
1558265.5113636365
1962841.5568181819
1313983.6818181819
1478033.3636363635
1112253.8068181819
234132.9971590909
40461.8192471591
1957076.7386363635
1472389.9545454546
1567499.9090909092
868406.5284090909
1430244.5681818181
1525613.1818181819
1891899.5795454546
51875.0909090909
822122.8806818182
7842.5453657670
1268865.9204545454
1027181.6420454546
355447.8238636364
1056201.8636363635
1165786.7386363635
354006.1875000000
847936.6420454546
897971.4204545454
577547.3465909091
470815.6221590909
167955<...>
Checker Information
100000 numbers

#7

202ms / 6916KB / Accepted
Input
5 45 25276
9 5 13826
0 56 17789
1 12 2103
0 43 22779
4 11 20238
1 45 28775
9 47 2822
0 30 8627
5 15 11428
10 42 3835
1 19 20048
6 19 5852
0 42 16503
3 2 13172
11 50 29734
1 54 24131
0 37 20384
0 19 25385
4 57 21917
8 45 14121
3 39 4910
3 29 14281
10 14 20861
11 53 15900
8 22 24555
3 32 15578
11 22 16426
3 37 17173
11 23 24943
10 40 17775
10 18 14546
8 9 3539
8 14 13418
1 19 13864
7 35 5080
2 44 11382
11 54 27694
6 14 32623
11 7 22143
3 9 10335
10 53 20347
11 56 17392
2 46 29657
7 35 15686
4 43 22670
6 27 26457
8 48 3826
8 30 28316
5 31 17515
1 49 338
6 17 10808
9 45 5922
10 10 15721
11 43 28863
0 23 28718
9 33 20170
10 56 27903
6 40 2869
6 25 337
4 47 17101
5 16 205
2 24 9401
4 53 29513
1 49 23564
1 7 28397
6 13 27583
10 51 27987
9 9 20395
7 47 1403
7 50 21857
9 42 3565
7 43 30187
11 25 4450
6 55 5599
10 47 1475
9 48 840
2 40 10344
10 17 24919
0 0 5081
10 43 32723
8 5 25212
9 30 28868
8 47 20218
0 36 6353
5 32 3646
6 32 1852<...>
Output
1654411.3522727273
904953.1534090909
1164314.8295454546
137644.3622159091
1490946.0795454546
1324614.4431818181
1883414.9090909092
184649.3565340909
564646.3295454546
747961.3352272727
250965.2642045454
1312219.1590909092
382988.2585227273
1080154.3295454546
862116.1761363636
1946170.0000000000
1579435.0340909092
1334188.4545454546
1661544.5795454546
1434532.0227272727
924282.2784090909
321359.1619318182
934743.6931818182
1365422.2954545454
1040668.8125000000
1607192.5113636365
1019635.2556818182
1075128.8750000000
1124030.1931818181
1632604.2500000000
1163403.6704545454
952072.8579545454
231612.8082386364
878233.2613636364
907448.2840909091
332446.8068181818
744970.5511363636
1812638.7500000000
2135276.9772727271
1449347.5000000000
676414.6136363636
1331739.6704545454
1138324.0000000000
1941150.3636363635
1026657.6818181818
1483833.2727272727
1731671.1022727273
250424.7159090909
1853359.0113636365
1146432.6022727273
22080.0907315341
707382.9772727273
387560<...>
Answer
1654411.3522727273
904953.1534090909
1164314.8295454546
137644.3622159091
1490946.0795454546
1324614.4431818181
1883414.9090909092
184649.3565340909
564646.3295454546
747961.3352272727
250965.2642045454
1312219.1590909092
382988.2585227273
1080154.3295454546
862116.1761363636
1946170.0000000000
1579435.0340909092
1334188.4545454546
1661544.5795454546
1434532.0227272727
924282.2784090909
321359.1619318182
934743.6931818182
1365422.2954545454
1040668.8125000000
1607192.5113636365
1019635.2556818182
1075128.8750000000
1124030.1931818181
1632604.2500000000
1163403.6704545454
952072.8579545454
231612.8082386364
878233.2613636364
907448.2840909091
332446.8068181818
744970.5511363636
1812638.7500000000
2135276.9772727271
1449347.5000000000
676414.6136363636
1331739.6704545454
1138324.0000000000
1941150.3636363635
1026657.6818181818
1483833.2727272727
1731671.1022727273
250424.7159090909
1853359.0113636365
1146432.6022727273
22080.0907315341
707382.9772727273
387560.4346590909
1028989.9829545454
1889166.0000000000
18<...>
Checker Information
100000 numbers

#8

171ms / 6916KB / Accepted
Input
7 3 11540
6 3 3370
6 14 21734
6 13 5911
6 58 2325
2 32 6643
10 14 28650
8 43 32171
6 22 11620
4 3 10821
6 7 10294
6 57 31110
5 19 5924
2 17 12902
10 27 25247
10 48 28283
3 57 21676
0 32 10463
4 27 1398
1 7 29504
3 49 32038
5 59 14610
10 0 13254
9 9 25120
3 6 32362
10 46 23803
8 14 9420
3 12 28386
0 41 23835
8 45 27204
7 48 21431
1 34 28147
4 55 17155
7 45 24207
4 43 929
11 25 14555
4 15 30635
2 54 30463
3 0 21452
8 49 23518
5 48 7998
1 55 24327
3 13 24608
8 13 30960
6 9 23455
1 28 630
8 15 10724
0 55 3038
5 38 11208
11 39 20163
2 19 17596
10 24 31674
1 40 9573
0 38 28565
11 43 994
6 44 9606
2 16 25777
4 6 21142
10 10 9128
0 17 19492
11 28 20111
1 47 32376
3 56 11054
3 13 6525
8 48 236
5 3 2375
4 27 607
5 17 7408
9 31 3411
7 0 14832
5 14 30769
4 44 29437
9 53 22993
5 46 8465
2 20 13596
5 21 562
11 55 17418
10 24 13571
11 27 21978
0 56 31061
1 40 25244
3 18 15653
9 3 10849
7 11 31442
2 59 179
0 47 6250
11 0 21790
6 28 8550
6<...>
Output
755315.1818181818
220546.0866477273
1422542.3522727273
386856.0710227273
152156.5411931818
434793.4573863636
1875247.7954545454
2105673.3863636362
760527.1022727273
708237.0056818182
673749.3522727273
2036266.5568181819
387695.5227272727
844488.4261363636
1652492.9204545454
1851191.9204545454
1418752.0681818181
684818.8920454546
91500.2727272727
1931169.2840909092
2097000.0681818181
956259.1647727273
867523.6079545454
1644192.8409090908
2118184.8636363638
1557957.5454545454
616546.0113636364
1857931.6136363635
1560068.0795454546
1780624.0909090908
1402746.5113636365
1842320.5340909092
1122839.5227272727
1584451.3863636365
60786.0891335227
952660.4375000000
2005141.3181818181
1993898.7386363635
1404081.7386363635
1539354.5909090908
523484.7272727273
1592263.1590909092
1610643.3636363635
2026437.8863636365
1535194.6022727273
41213.8192471591
701897.6988636364
198795.9076704546
733603.7897727273
1319715.5000000000
1151730.1136363635
2073172.2954545454
626561.78<...>
Answer
755315.1818181818
220546.0866477273
1422542.3522727273
386856.0710227273
152156.5411931818
434793.4573863636
1875247.7954545454
2105673.3863636362
760527.1022727273
708237.0056818182
673749.3522727273
2036266.5568181819
387695.5227272727
844488.4261363636
1652492.9204545454
1851191.9204545454
1418752.0681818181
684818.8920454546
91500.2727272727
1931169.2840909092
2097000.0681818181
956259.1647727273
867523.6079545454
1644192.8409090908
2118184.8636363638
1557957.5454545454
616546.0113636364
1857931.6136363635
1560068.0795454546
1780624.0909090908
1402746.5113636365
1842320.5340909092
1122839.5227272727
1584451.3863636365
60786.0891335227
952660.4375000000
2005141.3181818181
1993898.7386363635
1404081.7386363635
1539354.5909090908
523484.7272727273
1592263.1590909092
1610643.3636363635
2026437.8863636365
1535194.6022727273
41213.8192471591
701897.6988636364
198795.9076704546
733603.7897727273
1319715.5000000000
1151730.1136363635
2073172.2954545454
626561.7840909091
1869671.0795454546
65013.3632812500
628745.<...>
Checker Information
100000 numbers

#9

217ms / 6916KB / Accepted
Input
4 59 16010
1 35 3813
3 53 25707
1 48 24528
5 38 14124
3 11 6631
1 3 30864
1 2 27244
4 55 29698
3 31 961
4 0 5930
7 57 32490
4 42 29784
9 29 15946
11 21 32427
9 7 1504
4 42 7695
8 54 15486
0 40 3420
9 23 26279
0 38 24379
5 49 14097
1 47 5794
6 14 23050
0 23 1535
0 15 14385
2 8 13428
4 4 8755
3 36 27304
1 34 31386
6 51 20764
7 19 21457
11 27 18441
0 30 26591
4 28 25901
1 15 7310
9 39 24085
8 41 16887
7 55 9668
7 56 12976
7 40 15042
8 7 17414
0 30 7938
6 48 23052
5 17 17692
6 6 18028
7 4 30408
3 24 10803
8 15 26279
4 14 12819
11 42 21428
4 28 471
8 29 28410
5 15 20212
10 27 9308
0 45 21374
7 36 3480
6 14 14827
1 52 17098
2 15 14186
11 41 32273
8 2 3516
0 50 12343
1 44 28359
5 9 16985
0 33 2916
9 7 25866
6 8 17430
7 19 1896
5 42 19876
9 13 28947
5 30 29913
4 46 4114
8 48 21451
3 37 26627
8 34 4223
1 37 16935
2 23 28611
4 20 22063
7 51 30865
10 46 12750
6 1 25438
8 20 14725
1 47 28189
10 3 18206
9 44 14562
7 50 15054
11 24 22627<...>
Output
1047890.0852272727
249548.6278409091
1682603.3181818181
1605426.5340909092
924469.2272727273
433968.9886363636
2020126.0795454546
1783181.5795454546
1943835.8977272727
62887.1814630682
388101.8181818182
2126599.3863636362
1949477.8977272727
1043692.7784090909
2122468.0000000000
98420.2705965909
503652.5227272727
1013618.7159090909
223814.5482954546
1720040.5909090908
1595678.3295454546
922690.9772727273
379202.0965909091
1508680.4772727273
100449.7279829545
941548.6420454546
878861.0965909091
573006.8806818182
1787151.1931818181
2054327.7840909092
1359079.9318181819
1404411.9318181819
1207014.7500000000
1740471.8295454546
1695332.0227272727
478463.1590909091
1576417.3409090908
1105268.0113636365
632797.6988636364
849320.3238636364
984565.4488636364
1139796.6363636365
519548.1732954545
1508842.9318181819
1157966.6477272727
1179975.8522727273
1990310.5568181819
707097.8181818182
1720043.1363636365
839004.1931818182
1402512.5000000000
30822.9074928977
1859512.7<...>
Answer
1047890.0852272727
249548.6278409091
1682603.3181818181
1605426.5340909092
924469.2272727273
433968.9886363636
2020126.0795454546
1783181.5795454546
1943835.8977272727
62887.1814630682
388101.8181818182
2126599.3863636362
1949477.8977272727
1043692.7784090909
2122468.0000000000
98420.2705965909
503652.5227272727
1013618.7159090909
223814.5482954546
1720040.5909090908
1595678.3295454546
922690.9772727273
379202.0965909091
1508680.4772727273
100449.7279829545
941548.6420454546
878861.0965909091
573006.8806818182
1787151.1931818181
2054327.7840909092
1359079.9318181819
1404411.9318181819
1207014.7500000000
1740471.8295454546
1695332.0227272727
478463.1590909091
1576417.3409090908
1105268.0113636365
632797.6988636364
849320.3238636364
984565.4488636364
1139796.6363636365
519548.1732954545
1508842.9318181819
1157966.6477272727
1179975.8522727273
1990310.5568181819
707097.8181818182
1720043.1363636365
839004.1931818182
1402512.5000000000
30822.9074928977
1859512.7613636365
1322914.0227272727
609212.9829545454
13989<...>
Checker Information
100000 numbers

#10

124ms / 6916KB / Accepted
Input
11 48 3382
4 11 26285
9 49 32355
6 54 27416
10 15 6104
10 8 25315
3 25 3888
11 28 28287
6 35 164
8 37 11663
0 4 13104
1 44 18484
11 3 10254
7 41 12571
4 54 2415
8 8 10382
11 24 14979
2 8 10230
7 15 32561
2 31 23177
10 27 31746
3 49 29475
7 50 16180
8 31 22643
6 24 10741
4 45 6149
3 33 32042
9 47 9686
11 29 3924
6 52 29033
1 45 22901
4 58 6820
8 53 9980
0 7 24532
4 59 22820
5 6 2984
3 39 26700
7 42 1294
10 14 11822
11 33 31788
6 18 6657
4 47 22255
8 5 19437
9 1 17639
7 32 18259
7 19 5480
3 20 989
1 14 23593
5 47 13136
0 48 28628
9 27 9877
9 8 11080
11 14 26231
11 55 25983
9 55 25861
8 22 7500
5 27 12952
1 47 11638
6 56 28144
4 0 21210
5 11 18666
4 30 12689
10 42 940
6 44 10078
1 15 15981
9 46 26814
6 27 1561
5 44 29563
10 11 6786
8 27 7312
5 29 11487
7 3 14519
11 0 19399
8 7 26119
3 33 28139
4 41 8802
10 6 7992
1 42 28065
11 7 19499
9 6 1990
10 34 5507
7 12 15008
3 27 2697
4 15 23445
2 48 12970
4 44 7580
6 31 32548
1 40 1345<...>
Output
221313.8125000000
1720418.0681818181
2117716.3409090908
1794480.5568181819
399508.6392045455
1656962.9204545454
254478.6306818182
1851479.2500000000
10732.2726384943
763337.5113636364
857712.3295454546
1209823.2840909092
671162.4375000000
822826.2613636364
158040.5383522727
679519.2613636364
980414.1875000000
669537.4715909091
2131223.1818181816
1517019.8636363635
2077882.0454545454
1929240.0681818181
1059042.7613636365
1482034.3863636365
702990.5397727273
402456.8039772727
2097277.8181818184
633929.3409090909
256809.1718750000
1900322.5568181819
1498934.9090909092
446363.8039772727
653226.9659090909
1605723.8295454546
1493635.5227272727
195272.1789772727
1747613.6931818181
84694.3629261364
773778.7329545454
2080630.6250000000
435680.1647727273
1456665.6477272727
1272213.1363636365
1154535.3409090908
1195075.3068181819
358644.6193181818
64730.9080255682
1544260.5340909092
859791.1647727273
1873784.7045454546
646451.1534090909
725211.9659090909
1716918.750000<...>
Answer
221313.8125000000
1720418.0681818181
2117716.3409090908
1794480.5568181819
399508.6392045455
1656962.9204545454
254478.6306818182
1851479.2500000000
10732.2726384943
763337.5113636364
857712.3295454546
1209823.2840909092
671162.4375000000
822826.2613636364
158040.5383522727
679519.2613636364
980414.1875000000
669537.4715909091
2131223.1818181816
1517019.8636363635
2077882.0454545454
1929240.0681818181
1059042.7613636365
1482034.3863636365
702990.5397727273
402456.8039772727
2097277.8181818184
633929.3409090909
256809.1718750000
1900322.5568181819
1498934.9090909092
446363.8039772727
653226.9659090909
1605723.8295454546
1493635.5227272727
195272.1789772727
1747613.6931818181
84694.3629261364
773778.7329545454
2080630.6250000000
435680.1647727273
1456665.6477272727
1272213.1363636365
1154535.3409090908
1195075.3068181819
358644.6193181818
64730.9080255682
1544260.5340909092
859791.1647727273
1873784.7045454546
646451.1534090909
725211.9659090909
1716918.7500000000
1700645.0000000000
1692714.0454545454
490865.26<...>
Checker Information
100000 numbers
#include <bits/stdc++.h>
using namespace std;
int main(){
ios::sync_with_stdio(0);
	int a,b,c;
	while(cin>>a>>b>>c){
		double minute=6*b;
		double hour=30*a+0.5*b;
		double delta=hour-minute+360;
		if(delta>=360){
			delta-=360;
		}
		
		printf("%.10f\n",delta/(6-0.5)+720/11.0f*(c-1));
	}
}