Chicken wings prices
Submit
Language is selected by the extension of the file. See the list of supported languages to know the extension of your language.
Problem
How much do N chicken wings cost on this weird Chinese restaurant menu? https://www.boredpanda.com/chicken-wing-pricing-structure-math-graps-formulas
CSV (credit ბიმო): https://pastebin.com/2P3ZECcA
Similar CGCC challenge but optimizing price by splitting: https://codegolf.stackexchange.com/questions/174808/optimize-my-wings-order
Options
exec is denied
rejudge feature is enabled
now post-mortem time, all source codes will be revealed
Sample input:_
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
35
40
45
50
60
70
75
80
90
100
125
150
200
Sample output:
4.55
5.70
6.80
7.95
9.10
10.20
11.35
12.50
13.60
14.75
15.90
17.00
18.15
19.30
20.40
21.55
22.70
23.80
24.95
26.10
27.25
27.80
28.95
30.10
31.20
32.35
33.50
39.15
44.80
50.50
55.60
67.00
78.30
83.45
89.10
100.45
111.25
139.00
166.85
222.50
Sample input:_
80
40
45
5
16
23
12
35
24
26
20
45
4
28
27
150
15
4
75
21
20
14
17
45
15
22
19
26
12
17
5
6
90
26
20
22
12
125
70
90
80
15
70
150
90
12
12
15
17
9
27
16
19
12
9
125
60
125
19
75
5
28
19
8
22
17
12
18
150
10
12
90
4
23
125
22
24
70
40
14
28
19
7
21
6
12
7
29
125
11
17
40
11
27
18
16
16
90
60
23
Sample output:
89.10
44.80
50.50
5.70
18.15
26.10
13.60
39.15
27.25
28.95
22.70
50.50
4.55
31.20
30.10
166.85
17.00
4.55
83.45
23.80
22.70
15.90
19.30
50.50
17.00
24.95
21.55
28.95
13.60
19.30
5.70
6.80
100.45
28.95
22.70
24.95
13.60
139.00
78.30
100.45
89.10
17.00
78.30
166.85
100.45
13.60
13.60
17.00
19.30
10.20
30.10
18.15
21.55
13.60
10.20
139.00
67.00
139.00
21.55
83.45
5.70
31.20
21.55
9.10
24.95
19.30
13.60
20.40
166.85
11.35
13.60
100.45
4.55
26.10
139.00
24.95
27.25
78.30
44.80
15.90
31.20
21.55
7.95
23.80
6.80
13.60
7.95
32.35
139.00
12.50
19.30
44.80
12.50
30.10
20.40
18.15
18.15
100.45
67.00
26.10
Ranking
Rank | User | Size | Time | Date | Statistics |
---|
1 | tails | 59 | 0.0307 | 2022/01/04 15:29:20 | 0B / 30B / 28B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | xnor | 80 | 0.0612 | 2022/01/02 18:29:28 | 0B / 42B / 37B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | tails | 92 | 0.0271 | 2022/01/04 14:47:27 | 1B / 46B / 45B |
2 | rotary-o | 93 | 0.0297 | 2022/01/02 20:10:53 | 0B / 48B / 45B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | tails | 245 | 0.0403 | 2022/01/04 18:30:41 | 0B / 149B / 84B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | tails | 82 | 0.0558 | 2022/01/04 16:10:52 | 0B / 40B / 37B |
2 | McBusLuck | 96 | 0.1583 | 2022/01/01 03:40:22 | 0B / 45B / 44B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | tails | 40 | 0.1679 | 2022/01/04 17:02:51 | 18B / 16B / 4B |
2 | whio | 41 | 0.1475 | 2022/01/05 07:24:49 | 21B / 15B / 5B |
3 | whio(tails) | 39 | 0.1468 | 2022/01/06 15:13:47 | 19B / 14B / 3B |
Language Ranking_
Rank | Lang | User | Size | Score |
1 | Nibbles | darrenks | 29 | 10000 |
2 | gs2 | whio(tails) | 39 | 7435 |
3 | Perl | tails | 59 | 4915 |
4 | Ruby | Sisyphus (rotary-o) | 73 | 3972 |
5 | Ruby2 | rotary-o | 75 | 3866 |
6 | Python | xnor | 80 | 3625 |
7 | Bash (builtins) | tails | 82 | 3536 |
8 | Scala | rotary-o | 85 | 3411 |
9 | C | tails | 92 | 3152 |
10 | Java | rotary-o | 165 | 1757 |
11 | sed | tails | 245 | 1183 |
12 | Whitespace | rotary-o | 276 | 1050 |
return to the top page