Evil Numbers

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

An Evil number is a non-negative integer whose binary expansion contains an even number of 1's. List the first 400 Evil Numbers.

Options

exec is denied

no deadline, the server will not save your submission

Sample input:_

*NOTHING*

Sample output:

0
3
5
6
9
10
12
15
17
18
20
23
24
27
29
30
33
34
36
39
40
43
45
46
48
51
53
54
57
58
60
63
65
66
68
71
72
75
77
78
80
83
85
86
89
90
92
95
96
99
101
102
105
106
108
111
113
114
116
119
120
123
125
126
129
130
132
135
136
139
141
142
144
147
149
150
153
154
156
159
160
163
165
166
169
170
172
175
177
178
180
183
184
187
189
190
192
195
197
198
201
202
204
207
209
210
212
215
216
219
221
222
225
226
228
231
232
235
237
238
240
243
245
246
249
250
252
255
257
258
260
263
264
267
269
270
272
275
277
278
281
282
284
287
288
291
293
294
297
298
300
303
305
306
308
311
312
315
317
318
320
323
325
326
329
330
332
335
337
338
340
343
344
347
349
350
353
354
356
359
360
363
365
366
368
371
373
374
377
378
380
383
384
387
389
390
393
394
396
399
401
402
404
407
408
411
413
414
417
418
420
423
424
427
429
430
432
435
437
438
441
442
444
447
449
450
452
455
456
459
461
462
464
467
469
470
473
474
476
479
480
483
485
486
489
490
492
495
497
498
500
503
504
507
509
510
513
514
516
519
520
523
525
526
528
531
533
534
537
538
540
543
544
547
549
550
553
554
556
559
561
562
564
567
568
571
573
574
576
579
581
582
585
586
588
591
593
594
596
599
600
603
605
606
609
610
612
615
616
619
621
622
624
627
629
630
633
634
636
639
640
643
645
646
649
650
652
655
657
658
660
663
664
667
669
670
673
674
676
679
680
683
685
686
688
691
693
694
697
698
700
703
705
706
708
711
712
715
717
718
720
723
725
726
729
730
732
735
736
739
741
742
745
746
748
751
753
754
756
759
760
763
765
766
768
771
773
774
777
778
780
783
785
786
788
791
792
795
797
798

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1Sisyphus290.00722022/02/04 22:02:160B / 12B / 15B
2Dingledooper290.01742022/02/05 03:16:460B / 12B / 15B
3llhuii320.00642018/03/18 16:51:270B / 8B / 23B
4leonid330.00722015/01/30 06:03:310B / 15B / 17B
5teebee330.01012015/01/30 08:20:100B / 15B / 17B
6clock330.01062015/02/02 22:19:540B / 15B / 17B
7mitchs330.01682017/01/05 17:28:590B / 15B / 17B
8Histocrat350.02432015/01/28 07:54:430B / 15B / 20B
9Histocrat (luck)350.02432015/01/28 07:55:040B / 15B / 20B
10eban350.02562019/11/23 21:44:400B / 18B / 16B

Ruby2 _

RankUserSizeTimeDateStatistics
1Sisyphus290.05682022/02/04 22:02:240B / 12B / 15B
2Dingledooper290.05992022/02/05 03:16:550B / 12B / 15B
3primo310.05882019/11/22 02:12:330B / 13B / 17B
4llhuii320.04772018/03/18 16:52:060B / 8B / 23B
5mitchs330.08382017/01/06 12:08:100B / 15B / 17B
6letranger340.05962019/05/03 22:22:330B / 11B / 22B
7sean340.07362024/03/27 13:07:050B / 18B / 15B

Perl _

RankUserSizeTimeDateStatistics
1primo330.01192019/11/22 03:13:470B / 10B / 22B
2llhuii360.00012017/10/01 11:13:350B / 13B / 21B
3tails360.01272019/02/01 09:44:100B / 13B / 21B
4McBusLuck380.00012020/02/05 15:05:380B / 15B / 20B
5teebee390.02412021/06/05 18:15:130B / 19B / 19B
6BioFALSE510.01402015/01/29 06:15:500B / 23B / 27B

Python _

RankUserSizeTimeDateStatistics
1xnor390.02912017/09/29 18:10:590B / 22B / 15B
2llhuii390.03032018/03/18 08:13:160B / 22B / 17B
3teebee390.04892019/05/04 09:35:010B / 22B / 16B
4mitchs390.03092019/05/04 10:29:050B / 22B / 15B
5Dingledooper390.03972019/08/17 04:16:330B / 22B / 16B
6hallvabo390.03692020/09/10 03:54:030B / 22B / 16B
7Dingledooper (alt)390.05442023/06/15 09:26:190B / 21B / 18B
8sean390.03642024/03/04 11:17:230B / 22B / 15B
9fuzzylojik390.03772024/06/11 03:27:330B / 22B / 16B
10leonid470.04942015/01/27 05:40:130B / 28B / 17B
11xsot470.03682015/01/28 14:23:200B / 28B / 18B
12clock470.03692015/02/02 22:27:130B / 28B / 18B
13rolf520.02912015/05/03 04:06:270B / ?B / ?B
14Da530.04942016/10/16 07:12:170B / ?B / ?B

Python3 _

RankUserSizeTimeDateStatistics
1mitchs410.03862019/05/04 10:31:300B / 24B / 15B
2llhuii410.12592019/11/22 23:22:070B / 24B / 15B
3hallvabo410.04572020/09/10 03:56:520B / 24B / 15B
4Dingledooper410.04992021/06/05 11:01:310B / 24B / 15B
5xnor410.04732021/12/10 15:44:040B / 24B / 15B
6sean410.04622024/03/04 11:16:230B / 24B / 16B
7teebee410.05182024/06/11 02:03:330B / 24B / 15B
8fuzzylojik410.04662024/06/11 03:25:530B / 24B / 15B
9ppcg(xnor,alternative)490.03802017/09/29 23:53:280B / 30B / 17B
10ppcg(xnor)500.04572017/09/29 23:44:520B / 28B / 22B

PHP _

RankUserSizeTimeDateStatistics
1Dingledooper420.03192022/02/18 16:08:581B / 18B / 23B
2primo430.24162019/11/22 01:43:080B / 18B / 24B
3teebee440.19392015/01/25 22:42:561B / 22B / 21B
4clock440.03132015/02/02 22:39:471B / 22B / 21B
5440.27202022/02/18 15:45:510B / 18B / 25B

Pike _

RankUserSizeTimeDateStatistics
1teebee600.08462019/05/04 08:50:350B / 33B / 25B
2clock610.04962015/03/10 01:18:010B / 36B / 23B

Scheme _

RankUserSizeTimeDateStatistics
1teebee450.09582015/01/26 07:19:280B / 27B / 17B
2kaki450.10192015/02/06 00:25:000B / 28B / 16B

Common LISP _

RankUserSizeTimeDateStatistics
1teebee490.07142015/06/07 00:10:360B / 33B / 13B
2ttmh490.09382015/06/07 14:28:550B / 33B / 13B
3primo490.03652021/02/09 14:50:130B / 33B / 13B

Io _

RankUserSizeTimeDateStatistics
1teebee420.08862015/01/25 22:45:050B / 30B / 10B
2clock420.08862015/02/02 22:52:370B / 27B / 13B

JavaScript _

RankUserSizeTimeDateStatistics
1primo390.08652019/11/22 02:14:180B / 21B / 18B
2Dingledooper390.09272023/06/17 09:11:130B / 21B / 18B
3fagn390.02432024/02/23 05:24:020B / ?B / ?B
4sean390.02522024/03/04 11:15:130B / 21B / 18B
5llhuii400.01072018/03/18 08:29:170B / 23B / 17B
6teebee400.01692019/05/04 08:53:170B / 23B / 17B
7clock450.01852015/02/02 22:15:000B / 28B / 17B

Tcl _

RankUserSizeTimeDateStatistics
1sean570.02792024/03/04 11:22:120B / 31B / 17B
2teebee570.02682024/06/11 02:11:340B / 31B / 18B
3clock920.03742019/02/01 02:23:230B / 56B / 16B

Xtal _

RankUserSizeTimeDateStatistics
1teebee350.01542019/05/04 08:55:490B / 19B / 16B
2clock450.02042015/02/08 21:51:530B / 26B / 19B

Crystal _

RankUserSizeTimeDateStatistics
1sean300.00982024/04/01 02:17:070B / 15B / 13B

SNOBOL _

RankUserSizeTimeDateStatistics
1teebee640.01642022/05/14 21:08:470B / 29B / 22B

REXX _

RankUserSizeTimeDateStatistics
1teebee430.00842015/01/26 08:31:590B / 26B / 13B

PARI/GP _

RankUserSizeTimeDateStatistics
1mitchs390.02742015/01/25 16:56:100B / 23B / 16B
2teebee390.02442015/01/25 19:27:020B / 23B / 16B
3clock390.01742015/02/01 14:57:060B / 23B / 16B

Prolog _

RankUserSizeTimeDateStatistics
1500.01492021/11/18 06:28:200B / 32B / 18B
2Dingledooper500.01482021/11/18 06:28:470B / 32B / 18B
3teebee570.04822015/01/26 07:26:140B / 35B / 20B

BASIC _

RankUserSizeTimeDateStatistics
1sean420.00892024/03/04 12:03:540B / 28B / 11B
2teebee480.03392015/01/26 07:35:060B / 31B / 15B

Erlang _

RankUserSizeTimeDateStatistics
1teebee1120.12292016/07/24 20:29:340B / 67B / 41B

J _

RankUserSizeTimeDateStatistics
1Frowny170.02352018/04/07 20:30:580B / 8B / 9B
2primo170.01532019/07/05 21:49:470B / 8B / 9B
3sean170.02082024/03/04 11:49:510B / 7B / 10B
4random210.01852015/01/28 03:23:150B / ?B / ?B
5Hendrik210.02232016/10/17 03:57:090B / 8B / 13B

A+ _

RankUserSizeTimeDateStatistics
1teebee290.02302015/01/27 08:30:5211B / 10B / 8B

K _

RankUserSizeTimeDateStatistics
1teebee170.01062015/01/27 00:40:590B / 7B / 10B

Jelly _

RankUserSizeTimeDateStatistics
1Erik the Outgolfer100.18632021/04/23 01:27:383B / 6B / 1B

C _

RankUserSizeTimeDateStatistics
1tails542.84912021/02/09 18:43:450B / 30B / 24B
2Dingledooper542.82672022/02/18 14:33:270B / 30B / 24B
3primo550.01092019/11/22 02:20:510B / 27B / 28B
4nu550.00012019/11/22 07:51:060B / 28B / 27B
5llhuii550.01572019/12/01 18:22:280B / 29B / 26B
6sean550.01382024/03/04 11:18:540B / 27B / 28B
7560.01342020/08/22 08:51:380B / 29B / 27B

C++ _

RankUserSizeTimeDateStatistics
1sean690.01462024/03/04 11:19:470B / 37B / 31B
2Dingledooper790.00012019/08/17 04:37:440B / ?B / ?B
3krishnaa1280.01052017/09/30 19:02:070B / ?B / ?B
42080.00012017/09/30 12:22:310B / ?B / ?B
5krishna2080.00012017/09/30 12:24:130B / ?B / ?B

D _

RankUserSizeTimeDateStatistics
1sean620.01452024/03/04 11:21:030B / 34B / 25B

Go _

RankUserSizeTimeDateStatistics
1sean690.01332024/03/04 12:11:340B / 43B / 21B

Rust _

RankUserSizeTimeDateStatistics
1sean670.00792024/03/04 11:10:540B / 29B / 36B

Haskell _

RankUserSizeTimeDateStatistics
1lynn530.01952021/09/08 08:53:200B / 33B / 18B
2Dingledooper530.02122022/05/06 09:27:460B / 33B / 18B
3xnor570.02652020/11/21 08:11:360B / 31B / 23B
4HPWiz580.86092019/04/09 23:47:400B / 34B / 21B
5henkma580.91702019/04/11 21:11:510B / 34B / 21B
6sean580.89042024/03/04 11:27:390B / 34B / 21B
7oerjan590.01212015/01/26 04:36:210B / 38B / 15B
8int-e590.93152015/01/26 05:20:060B / 36B / 22B

ObjC _

RankUserSizeTimeDateStatistics
1sean550.01452024/03/27 13:15:230B / 27B / 28B
2llhuii560.00012015/07/12 22:52:560B / 29B / 27B

Java _

RankUserSizeTimeDateStatistics
1Dingledooper680.07552023/06/16 15:13:130B / 41B / 25B
2sean680.07192024/03/04 11:13:020B / 39B / 27B
3rotary-o690.07172019/05/03 19:27:530B / 42B / 25B
4teebee690.06772019/05/04 08:44:220B / 42B / 25B
5Quuador710.06642018/04/04 22:28:400B / 42B / 27B
6fatO790.09552015/02/01 01:29:110B / 52B / 25B

Fortran _

RankUserSizeTimeDateStatistics
1teebee390.01762015/01/26 07:37:530B / 24B / 15B

C# _

RankUserSizeTimeDateStatistics
1sean920.04562024/03/04 12:14:360B / 62B / 26B
2teebee930.04032019/05/04 08:47:080B / 63B / 26B

Maxima _

RankUserSizeTimeDateStatistics
1teebee480.55922015/01/26 07:38:470B / 32B / 16B

Asymptote _

RankUserSizeTimeDateStatistics
1teebee620.20482015/01/26 07:15:550B / 31B / 30B

AWK _

RankUserSizeTimeDateStatistics
1teebee430.02682015/01/26 06:48:480B / 22B / 21B
2llhuii430.02992017/10/01 14:16:430B / 22B / 21B
3Dingledooper430.02682023/02/28 11:22:120B / 22B / 21B

sed _

RankUserSizeTimeDateStatistics
1tails1060.01502021/09/08 20:48:530B / 44B / 49B
21530.66582021/09/08 19:20:400B / 47B / 92B

jq _

RankUserSizeTimeDateStatistics
1teebee480.11782015/02/10 17:32:440B / 15B / 32B

Bash _

RankUserSizeTimeDateStatistics
1eban580.02502022/02/18 19:27:350B / 33B / 21B
2hebiyan15550.00542015/02/09 12:40:150B / ?B / ?B

Bash (builtins) _

RankUserSizeTimeDateStatistics
1tails350.08412019/07/09 14:29:020B / 10B / 23B
2llhuii350.62102019/07/15 22:50:380B / 11B / 22B
3McBusLuck400.38752019/07/07 00:57:170B / 15B / 23B

make _

RankUserSizeTimeDateStatistics
1tails1220.05622017/10/02 16:50:420B / 56B / 53B
2jml15700.00622017/10/01 04:06:120B / ?B / ?B

bc _

RankUserSizeTimeDateStatistics
1McBusLuck360.00722020/10/11 03:14:030B / 14B / 21B
2teebee370.01062015/01/25 23:02:430B / 16B / 20B

dc _

RankUserSizeTimeDateStatistics
1int-e300.02752015/01/26 06:50:240B / 21B / 9B
2460.04792021/09/09 23:22:230B / 32B / 14B

xgawk _

RankUserSizeTimeDateStatistics
1llhuii430.02402017/10/01 14:17:590B / 22B / 21B
2teebee440.01162015/01/27 08:17:320B / 23B / 21B

R _

RankUserSizeTimeDateStatistics
1olf440.18012020/09/21 00:14:590B / ?B / ?B
2teebee460.34982015/01/25 23:07:530B / 26B / 18B
3clock460.17212019/05/04 20:47:350B / 26B / 18B

Brainfuck _

RankUserSizeTimeDateStatistics
1mitchs (cheat)1430.11792017/01/09 06:31:352B / 1B / 139B
2mitchs1580.06432021/04/05 12:45:040B / 0B / 158B

Whitespace _

RankUserSizeTimeDateStatistics
1kaz_u1180.03012015/05/31 22:41:550B / 0B / 0B

GolfScript _

RankUserSizeTimeDateStatistics
1Dingledooper150.04082022/07/22 16:46:260B / ?B / ?B
2mitchs150.04112022/07/22 16:49:080B / 4B / 11B
3tails150.04352022/08/18 17:03:420B / 4B / 11B
4clock190.12052015/02/02 22:11:570B / 9B / 10B

gs2 _

RankUserSizeTimeDateStatistics
1mitchs70.11922015/01/25 16:10:212B / 3B / 2B

Nibbles _

RankUserSizeTimeDateStatistics
1tails80.02052022/02/18 14:55:576B / 1B / 1B

Burlesque _

RankUserSizeTimeDateStatistics
1Hendrik190.05992015/05/28 12:15:410B / 13B / 6B

Lazy-K _

RankUserSizeTimeDateStatistics
1tails6380.50452021/04/23 09:48:520B / 392B / 246B

x86 _

RankUserSizeTimeDateStatistics
1zf73800.01252017/09/30 05:31:046162B / ?B / ?B

DOS _

RankUserSizeTimeDateStatistics
1chocobi592.76052019/05/09 10:03:3044B / 4B / 6B

goruby _

RankUserSizeTimeDateStatistics
1mitchs280.03442017/01/06 12:13:080B / 13B / 14B

Groovy _

RankUserSizeTimeDateStatistics
1teebee401.10962015/01/25 23:09:270B / 30B / 9B
2clock400.95962015/02/01 14:40:320B / 29B / 11B

Scala _

RankUserSizeTimeDateStatistics
1llhuii472.92732018/04/05 12:23:570B / 22B / 25B
2rotary-o472.46222019/05/03 19:25:320B / 21B / 25B
3Hendrik482.11402018/07/22 06:02:092B / 35B / 10B
4teebee492.91252015/01/25 23:10:390B / 35B / 12B

Logo _

RankUserSizeTimeDateStatistics
1teebee580.14602015/02/03 08:22:050B / 38B / 12B
2clock582.66472015/02/03 22:11:360B / 36B / 15B

Language Ranking_

RankLangUserSizeScore
1gs2mitchs710000
2Nibblestails88750
3JellyErik the Outgolfer107000
4GolfScriptDingledooper154666
5Kteebee174117
6JFrowny174117
7BurlesqueHendrik193684
8gorubymitchs282500
9A+teebee292413
10RubySisyphus292413
11Ruby2Sisyphus292413
12dcint-e302333
13Crystalsean302333
14Perlprimo332121
15Xtalteebee352000
16Bash (builtins)tails352000
17bcMcBusLuck361944
18PARI/GPmitchs391794
19Fortranteebee391794
20Pythonxnor391794
21JavaScriptprimo391794
22Groovyteebee401750
23Python3mitchs411707
24Ioteebee421666
25PHPDingledooper421666
26BASICsean421666
27AWKteebee431627
28REXXteebee431627
29xgawkllhuii431627
30Rolf441590
31Schemeteebee451555
32Scalallhuii471489
33Maximateebee481458
34jqteebee481458
35Common LISPteebee491428
36Prolog501400
37Haskelllynn531320
38Ctails541296
39ObjCsean551272
40Tclsean571228
41Logoteebee581206
42Basheban581206
43DOSchocobi591186
44Piketeebee601166
45Asymptoteteebee621129
46Dsean621129
47SNOBOLteebee641093
48Rustsean671044
49JavaDingledooper681029
50C++sean691014
51Gosean691014
52C#sean92760
53sedtails106660
54Erlangteebee112625
55Whitespacekaz_u118593
56maketails122573
57Brainfuckmitchs (cheat)143489
58Lazy-Ktails638109
59x86zf73809

return to the top page