Little Endian Calculator

Submit

Your name:
File:
Open code-statistics:

Language is selected by the extension of the file. See the list of supported languages to know the extension of your language.

Problem

Convert between decimal and hexadecimal little endian byte order (reverse bytes and convert to hex).

Options

exec is denied

no deadline, the server will not save your submission

Sample input:_

13072 to little endian
1033 to decimal
256 to little endian
0 to little endian
1 to little endian
65534 to little endian
00 to decimal
ff to decimal
0001 to decimal

Sample output:

1033
13072
0001
00
01
feff
0
255
256

Sample input:_

601024381 to little endian
94098989 to little endian
559234054 to little endian
297872928 to little endian
1000525858 to little endian
953025071 to little endian
978787690 to little endian
563004692 to little endian
327728398 to little endian
303494195 to little endian

Sample output:

7de7d223
2dd69b05
063c5521
202ec111
22d0a23b
2f02ce38
6a1d573a
14c58e21
0ebd8813
33f41612

Sample input:_

61f92a28 to decimal
90c32810 to decimal
47084c0a to decimal
12c94714 to decimal
b0176d29 to decimal
a452411a to decimal
2cbc2914 to decimal
d847c01c to decimal
727bf91d to decimal
c14dc42a to decimal

Sample output:

673904993
271106960
172755015
340248850
695015344
440488612
338279468
482363352
502889330
717508033

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1rotary-o870.05052021/07/25 14:26:250B / 33B / 51B
2leonid1030.06462009/09/06 10:13:500B / 38B / 63B
3GooGoo+.1250.01362011/07/27 22:57:350B / 57B / 58B
4eban1270.22752007/02/26 13:36:160B / 57B / 66B
5shinh1370.26582007/02/25 06:07:070B / 62B / 73B
6flagitious1520.24692007/02/25 08:56:190B / 90B / 48B

Ruby2 _

RankUserSizeTimeDateStatistics
1rotary-o860.17372021/07/25 14:23:310B / 34B / 49B

Perl _

RankUserSizeTimeDateStatistics
1teebee560.03592015/10/01 08:17:050B / 30B / 24B
2tails590.02882011/05/12 10:51:290B / 28B / 28B
3ySas780.11202007/02/25 12:24:330B / 40B / 30B
4sugarfree1150.29332007/02/27 01:39:500B / ?B / ?B

Python _

RankUserSizeTimeDateStatistics
1Erik the Outgolfer1370.08952021/01/01 05:30:370B / 69B / 59B
2orthoplex1370.08962021/07/25 10:27:460B / 77B / 50B
3hallvabo1390.13012009/09/06 07:46:370B / 74B / 57B
4Mark Byers1400.12702009/09/06 02:30:070B / 71B / 62B

Python3 _

RankUserSizeTimeDateStatistics
1orthoplex1310.14372021/07/25 10:24:370B / 73B / 49B
2Erik the Outgolfer1360.13772021/01/01 05:31:120B / 71B / 56B

PHP _

RankUserSizeTimeDateStatistics
1o-cn1440.01762009/11/28 14:50:020B / 81B / 61B
2Sean3610.37072007/10/24 05:16:300B / 181B / 179B

Scheme _

RankUserSizeTimeDateStatistics
1ma2432.87412007/03/03 20:23:190B / ?B / ?B

Common LISP _

RankUserSizeTimeDateStatistics
1kozima2500.59522007/05/10 09:25:220B / 134B / 90B

Io _

RankUserSizeTimeDateStatistics
1murky-satyr1792.50812008/03/10 02:23:210B / 109B / 60B

JavaScript _

RankUserSizeTimeDateStatistics
1murky-satyr1180.08662008/05/18 23:46:070B / 50B / 68B
2nn1270.07802008/05/18 01:59:410B / 66B / 61B
3canalun2690.06222023/05/28 23:00:470B / ?B / ?B

Smalltalk _

RankUserSizeTimeDateStatistics
1murky-satyr2320.52772008/07/16 03:41:170B / 142B / 77B

Prolog _

RankUserSizeTimeDateStatistics
1mskzzzz4270.38552007/05/02 00:03:140B / 327B / 62B

BASIC _

RankUserSizeTimeDateStatistics
1poop2850.08342007/10/09 23:01:380B / 228B / 19B

J _

RankUserSizeTimeDateStatistics
1I., S.870.15662010/11/20 23:38:270B / 27B / 60B

Mind _

RankUserSizeTimeDateStatistics
1poop3620.07462007/10/10 07:12:2436B / 256B / 59B

C _

RankUserSizeTimeDateStatistics
151b1680.05442009/09/06 17:24:100B / 91B / 77B
27gyou1750.06672007/11/18 03:03:380B / 94B / 81B
31830.00112009/11/30 06:44:310B / ?B / ?B
4Al Dimond1840.04172007/10/23 13:10:260B / ?B / ?B

D _

RankUserSizeTimeDateStatistics
151b2120.06082009/09/06 17:18:230B / 124B / 84B

OCaml _

RankUserSizeTimeDateStatistics
1ksk2510.91232007/03/03 13:22:150B / 132B / 93B
2m.ukai3030.89422007/02/27 13:01:500B / 246B / 26B

Haskell _

RankUserSizeTimeDateStatistics
1notogawa1500.00252010/01/22 21:52:550B / ?B / ?B
2rst761500.00452011/01/11 17:25:250B / 89B / 50B

Java _

RankUserSizeTimeDateStatistics
1rotary-o2840.20932021/07/25 21:40:420B / 191B / 86B

AWK _

RankUserSizeTimeDateStatistics
1nn1160.04692008/07/12 13:14:250B / 59B / 56B
2usa1240.06542007/02/27 22:36:420B / 62B / 62B

sed _

RankUserSizeTimeDateStatistics
1emoken(embed)2640.06102008/02/10 17:58:330B / 205B / 30B

bc _

RankUserSizeTimeDateStatistics
1McBusLuck2680.04282020/04/16 17:03:560B / 220B / 19B

Postscript _

RankUserSizeTimeDateStatistics
1ySas1450.88462007/05/28 01:32:5158B / 46B / 39B
2yshl(bin)1621.17392009/09/06 19:14:5785B / 44B / 29B
3yshl3101.30562009/09/06 19:14:480B / 228B / 32B

GolfScript _

RankUserSizeTimeDateStatistics
1flagitious970.58652007/12/16 01:31:520B / 36B / 59B

Burlesque _

RankUserSizeTimeDateStatistics
1Hendrik540.03952017/12/01 06:11:400B / 30B / 24B
2clock540.03742019/09/26 23:24:290B / 29B / 25B

Groovy _

RankUserSizeTimeDateStatistics
1nn14210.92142009/04/19 12:50:590B / 81B / 53B
2murky-satyr1423.59422009/12/31 23:38:000B / 71B / 65B

Scala _

RankUserSizeTimeDateStatistics
1Hendrik15810.19642020/11/13 05:59:180B / 99B / 54B
2rotary-o1588.22982021/07/25 22:34:040B / 90B / 62B
3clock1597.03722019/12/05 09:42:4616B / 85B / 55B
4tarhashi26110.41392012/06/19 13:34:300B / ?B / ?B

Language Ranking_

RankLangUserSizeScore
1BurlesqueHendrik5410000
2Perlteebee569642
3Ruby2rotary-o866279
4JI., S.876206
5Rubyrotary-o876206
6GolfScriptflagitious975567
7AWKnn1164655
8JavaScriptmurky-satyr1184576
9Python3orthoplex1314122
10PythonErik the Outgolfer1373941
11Groovynn1423802
12PHPo-cn1443750
13PostscriptySas1453724
14Haskellnotogawa1503600
15ScalaHendrik1583417
16C51b1683214
17Iomurky-satyr1793016
18D51b2122547
19Smalltalkmurky-satyr2322327
20Schemema2432222
21Common LISPkozima2502160
22OCamlksk2512151
23sedemoken(embed)2642045
24bcMcBusLuck2682014
25Javarotary-o2841901
26BASICpoop2851894
27Mindpoop3621491
28Prologmskzzzz4271264

Referer

Note that, they may contain spoilers.

return to the top page