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
1leonid1030.06462009/09/06 10:13:500B / 38B / 63B
2GooGoo+.1250.01362011/07/27 22:57:350B / 57B / 58B
3eban1270.22752007/02/26 13:36:160B / 57B / 66B
4shinh1370.26582007/02/25 06:07:070B / 62B / 73B
5flagitious1520.24692007/02/25 08:56:190B / 90B / 48B

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
1hallvabo1390.13012009/09/06 07:46:370B / 74B / 57B
2Mark Byers1400.12702009/09/06 02:30:070B / 71B / 62B

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

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

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

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

Groovy _

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

Scala _

RankUserSizeTimeDateStatistics
1tarhashi26110.41392012/06/19 13:34:300B / ?B / ?B

Language Ranking_

RankLangUserSizeScore
1Perlteebee5610000
2JI., S.876436
3GolfScriptflagitious975773
4Rubyleonid1035436
5AWKnn1164827
6JavaScriptmurky-satyr1184745
7Pythonhallvabo1394028
8Groovynn1423943
9PHPo-cn1443888
10PostscriptySas1453862
11Haskellnotogawa1503733
12C51b1683333
13Iomurky-satyr1793128
14D51b2122641
15Smalltalkmurky-satyr2322413
16Schemema2432304
17Common LISPkozima2502240
18OCamlksk2512231
19Scalatarhashi2612145
20sedemoken(embed)2642121
21BASICpoop2851964
22Mindpoop3621546
23Prologmskzzzz4271311

Referer

Note that, they may contain spoilers.

return top