name of alkanes
Submit
Language is selected by the extension of the file. See the list of supported languages to know the extension of your language.
Problem
print name of alkane with the specified number of carbons
Options
exec is denied
rejudge feature is enabled
now post-mortem time, all source codes will be revealed
Sample input:_
1
2
3
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
Sample output:
methane
ethane
propane
butane
pentane
hexane
heptane
octane
nonane
decane
undecane
dodecane
tridecane
tetradecane
pentadecane
hexadecane
heptadecane
octadecane
nonadecane
icosane
henicosane
docosane
tricosane
tetracosane
pentacosane
hexacosane
heptacosane
octacosane
nonacosane
triacontane
Sample input:_
30
31
32
33
34
40
41
42
43
44
50
51
52
53
54
60
61
62
63
64
70
71
72
73
74
80
81
82
83
84
Sample output:
triacontane
hentriacontane
dotriacontane
tritriacontane
tetratriacontane
tetracontane
hentetracontane
dotetracontane
tritetracontane
tetratetracontane
pentacontane
henpentacontane
dopentacontane
tripentacontane
tetrapentacontane
hexacontane
henhexacontane
dohexacontane
trihexacontane
tetrahexacontane
heptacontane
henheptacontane
doheptacontane
triheptacontane
tetraheptacontane
octacontane
henoctacontane
dooctacontane
trioctacontane
tetraoctacontane
Sample input:_
7
1
23
25
49
77
43
14
38
26
44
85
90
72
4
85
30
5
14
82
82
47
68
93
63
21
61
49
23
58
Sample output:
heptane
methane
tricosane
pentacosane
nonatetracontane
heptaheptacontane
tritetracontane
tetradecane
octatriacontane
hexacosane
tetratetracontane
pentaoctacontane
nonacontane
doheptacontane
butane
pentaoctacontane
triacontane
pentane
tetradecane
dooctacontane
dooctacontane
heptatetracontane
octahexacontane
trinonacontane
trihexacontane
henicosane
henhexacontane
nonatetracontane
tricosane
octapentacontane
Ranking
| Rank | User | Size | Time | Date | Statistics |
|---|
| 1 | rotary-o | 183 | 0.0620 | 2025/09/29 23:16:47 | 0B / 104B / 63B |
| 2 | olf | 221 | 0.0521 | 2025/09/21 21:23:50 | 0B / 121B / 81B |
| 3 | ludo(rotary-o) | 182 | 0.0695 | 2025/10/03 21:15:29 | 0B / 103B / 63B |
| Rank | User | Size | Time | Date | Statistics |
|---|
| 1 | tails | 159 | 0.0697 | 2025/09/30 01:30:11 | 0B / 80B / 75B |
| 2 | rotary-o | 159 | 0.0769 | 2025/10/01 20:19:01 | 0B / 83B / 73B |
| Rank | User | Size | Time | Date | Statistics |
|---|
| 1 | rotary-o | 211 | 0.0404 | 2025/10/02 21:04:37 | 8B / 122B / 81B |
| 2 | tails | 214 | 0.0403 | 2025/10/01 17:57:33 | 14B / 127B / 73B |
| 3 | chocobi | 268 | 0.0416 | 2025/10/03 19:37:54 | 0B / 152B / 116B |
| Rank | User | Size | Time | Date | Statistics |
|---|
| 1 | tails | 212 | 0.0437 | 2025/09/22 01:19:26 | 0B / 112B / 79B |
| 2 | McBusLuck | 228 | 0.0429 | 2025/09/21 22:07:45 | 0B / 119B / 86B |
| Rank | User | Size | Time | Date | Statistics |
|---|
| 1 | tails | 169 | 0.0852 | 2025/09/24 09:40:47 | 0B / 98B / 66B |
| Rank | User | Size | Time | Date | Statistics |
|---|
| 1 | ludo | 287 | 0.5291 | 2025/10/03 20:28:56 | 0B / 169B / 118B |
| Rank | User | Size | Time | Date | Statistics |
|---|
| 1 | whio | 129 | 0.2330 | 2025/09/22 11:33:19 | 60B / 50B / 12B |
| Rank | User | Size | Time | Date | Statistics |
|---|
| 1 | whio | 88 | 0.0507 | 2025/10/03 10:00:35 | 57B / 22B / 9B |
| 2 | tails | 89 | 0.0664 | 2025/09/26 20:13:54 | 52B / 18B / 18B |
Language Ranking_
| Rank | Lang | User | Size | Score |
| 1 | Nibbles | whio | 88 | 10000 |
| 2 | gs2 | whio | 129 | 6821 |
| 3 | Perl | tails | 159 | 5534 |
| 4 | Bash (builtins) | tails | 169 | 5207 |
| 5 | Ruby | ludo(rotary-o) | 182 | 4835 |
| 6 | Ruby2 | rotary-o | 183 | 4808 |
| 7 | Python | hallvabo | 208 | 4230 |
| 8 | C | rotary-o | 211 | 4170 |
| 9 | sed | tails | 212 | 4150 |
| 10 | Python3 | hallvabo | 216 | 4074 |
| 11 | Scala | rotary-o | 217 | 4055 |
| 12 | C# | rotary-o | 282 | 3120 |
| 13 | R | ludo | 287 | 3066 |
| 14 | Java | rotary-o | 297 | 2962 |
return to the top page