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
1llhuii320.00642018/03/18 16:51:270B / 8B / 23B
2leonid330.00722015/01/30 06:03:310B / 15B / 17B
3teebee330.01012015/01/30 08:20:100B / 15B / 17B
4clock330.01062015/02/02 22:19:540B / 15B / 17B
5mitchs330.01682017/01/05 17:28:590B / 15B / 17B
6Histocrat350.02432015/01/28 07:54:430B / 15B / 20B
7Histocrat (luck)350.02432015/01/28 07:55:040B / 15B / 20B
8eban350.02562019/11/23 21:44:400B / 18B / 16B

Ruby2 _

RankUserSizeTimeDateStatistics
1primo310.05882019/11/22 02:12:330B / 13B / 17B
2llhuii320.04772018/03/18 16:52:060B / 8B / 23B
3mitchs330.08382017/01/06 12:08:100B / 15B / 17B
4Dingledooper330.06942021/06/05 11:00:070B / 12B / 21B
5letranger340.05962019/05/03 22:22:330B / 11B / 22B

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
7leonid470.04942015/01/27 05:40:130B / 28B / 17B
8xsot470.03682015/01/28 14:23:200B / 28B / 18B
9clock470.03692015/02/02 22:27:130B / 28B / 18B
10rolf520.02912015/05/03 04:06:270B / ?B / ?B
11Da530.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
5xnor420.04632017/09/30 01:17:360B / 22B / 19B
6teebee420.06632019/05/04 09:35:500B / 22B / 20B
7ppcg(xnor,alternative)490.03802017/09/29 23:53:280B / 30B / 17B
8ppcg(xnor)500.04572017/09/29 23:44:520B / 28B / 22B

PHP _

RankUserSizeTimeDateStatistics
1primo430.24162019/11/22 01:43:080B / 18B / 24B
2teebee440.19392015/01/25 22:42:561B / 22B / 21B
3clock440.03132015/02/02 22:39:471B / 22B / 21B

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
2llhuii400.01072018/03/18 08:29:170B / 23B / 17B
3teebee400.01692019/05/04 08:53:170B / 23B / 17B
4clock450.01852015/02/02 22:15:000B / 28B / 17B

Tcl _

RankUserSizeTimeDateStatistics
1clock920.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

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
1teebee570.04822015/01/26 07:26:140B / 35B / 20B

BASIC _

RankUserSizeTimeDateStatistics
1teebee480.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
3random210.01852015/01/28 03:23:150B / ?B / ?B
4Hendrik210.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
2primo550.01092019/11/22 02:20:510B / 27B / 28B
3nu550.00012019/11/22 07:51:060B / 28B / 27B
4llhuii550.01572019/12/01 18:22:280B / 29B / 26B
5560.01342020/08/22 08:51:380B / 29B / 27B
6Dingledooper650.00012019/08/17 04:34:570B / ?B / ?B

C++ _

RankUserSizeTimeDateStatistics
1Dingledooper790.00012019/08/17 04:37:440B / ?B / ?B
2krishnaa1280.01052017/09/30 19:02:070B / ?B / ?B
32080.00012017/09/30 12:22:310B / ?B / ?B
4krishna2080.00012017/09/30 12:24:130B / ?B / ?B

Haskell _

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

ObjC _

RankUserSizeTimeDateStatistics
1llhuii560.00012015/07/12 22:52:560B / 29B / 27B

Java _

RankUserSizeTimeDateStatistics
1rotary-o690.07172019/05/03 19:27:530B / 42B / 25B
2teebee690.06772019/05/04 08:44:220B / 42B / 25B
3Quuador710.06642018/04/04 22:28:400B / 42B / 27B
4fatO790.09552015/02/01 01:29:110B / 52B / 25B

Fortran _

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

C# _

RankUserSizeTimeDateStatistics
1teebee930.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

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
1eban700.04002015/01/29 10:28:000B / 38B / 28B
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
1mitchs180.02892019/05/04 11:11:520B / 7B / 11B
2tails190.14062015/01/26 05:27:240B / 9B / 10B
3clock190.12052015/02/02 22:11:570B / 9B / 10B

gs2 _

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

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
2JellyErik the Outgolfer107000
3Kteebee174117
4JFrowny174117
5GolfScriptmitchs183888
6BurlesqueHendrik193684
7gorubymitchs282500
8A+teebee292413
9dcint-e302333
10Ruby2primo312258
11Rubyllhuii322187
12Perlprimo332121
13Xtalteebee352000
14Bash (builtins)tails352000
15bcMcBusLuck361944
16PARI/GPmitchs391794
17Fortranteebee391794
18Pythonxnor391794
19JavaScriptprimo391794
20Groovyteebee401750
21Python3mitchs411707
22Ioteebee421666
23AWKteebee431627
24REXXteebee431627
25xgawkllhuii431627
26PHPprimo431627
27Rolf441590
28Schemeteebee451555
29Scalallhuii471489
30BASICteebee481458
31Maximateebee481458
32jqteebee481458
33Common LISPteebee491428
34Haskelllynn531320
35Ctails541296
36ObjCllhuii561250
37Prologteebee571228
38Logoteebee581206
39DOSchocobi591186
40Piketeebee601166
41Asymptoteteebee621129
42Javarotary-o691014
43Basheban701000
44C++Dingledooper79886
45Tclclock92760
46C#teebee93752
47sedtails106660
48Erlangteebee112625
49Whitespacekaz_u118593
50maketails122573
51Brainfuckmitchs (cheat)143489
52Lazy-Ktails638109
53x86zf73809

return to the top page