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

Ruby2 _

RankUserSizeTimeDateStatistics
1llhuii320.04772018/03/18 16:52:060B / 8B / 23B
2mitchs330.08382017/01/06 12:08:100B / 15B / 17B

Perl _

RankUserSizeTimeDateStatistics
1llhuii360.00012017/10/01 11:13:350B / 13B / 21B
2tails380.00012016/10/16 16:20:300B / 10B / 27B
3teebee400.01772015/01/25 19:31:590B / 19B / 20B
4BioFALSE510.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
3mitchs460.04772017/01/05 17:40:540B / 29B / 16B
4leonid470.04942015/01/27 05:40:130B / 28B / 17B
5teebee470.03842015/01/27 07:50:370B / 27B / 19B
6xsot470.03682015/01/28 14:23:200B / 28B / 18B
7clock470.03692015/02/02 22:27:130B / 28B / 18B
8hallvabo520.03942015/01/25 21:58:150B / 30B / 19B
9rolf520.02912015/05/03 04:06:270B / ?B / ?B
10Da530.04942016/10/16 07:12:170B / ?B / ?B

Python3 _

RankUserSizeTimeDateStatistics
1xnor420.04632017/09/30 01:17:360B / 22B / 19B
2llhuii420.04552018/03/18 08:26:490B / 22B / 20B
3ppcg(xnor,alternative)490.03802017/09/29 23:53:280B / 30B / 17B
4mitchs500.21672015/01/25 16:51:080B / 33B / 13B
5teebee500.11102015/01/26 10:12:250B / 31B / 16B
6ppcg(xnor)500.04572017/09/29 23:44:520B / 28B / 22B

PHP _

RankUserSizeTimeDateStatistics
1teebee440.19392015/01/25 22:42:561B / 22B / 21B
2clock440.03132015/02/02 22:39:471B / 22B / 21B

Pike _

RankUserSizeTimeDateStatistics
1clock610.04962015/03/10 01:18:010B / 36B / 23B
2teebee610.06152015/03/10 16:40:510B / 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

Io _

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

JavaScript _

RankUserSizeTimeDateStatistics
1llhuii400.01072018/03/18 08:29:170B / 23B / 17B
2teebee450.02552015/01/25 22:47:060B / 28B / 17B
3clock450.01852015/02/02 22:15:000B / 28B / 17B

Xtal _

RankUserSizeTimeDateStatistics
1teebee440.01962015/02/08 22:21:460B / 27B / 17B
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
2random210.01852015/01/28 03:23:150B / ?B / ?B
3Hendrik210.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

C _

RankUserSizeTimeDateStatistics
1llhuii560.00012015/01/26 19:37:180B / 29B / 27B
2nu560.00012015/01/27 00:30:070B / 29B / 27B
3tails560.00232015/01/27 20:07:340B / 29B / 27B

C++ _

RankUserSizeTimeDateStatistics
1krishnaa1280.01052017/09/30 19:02:070B / ?B / ?B
22080.00012017/09/30 12:22:310B / ?B / ?B
3krishna2080.00012017/09/30 12:24:130B / ?B / ?B

Haskell _

RankUserSizeTimeDateStatistics
1oerjan590.01212015/01/26 04:36:210B / 38B / 15B
2int-e590.93152015/01/26 05:20:060B / 36B / 22B
3henkma590.01322015/01/31 20:22:070B / 38B / 14B

ObjC _

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

Java _

RankUserSizeTimeDateStatistics
1Quuador710.06642018/04/04 22:28:400B / 42B / 27B
2teebee750.09312015/01/26 07:36:420B / 49B / 24B
3fatO790.09552015/02/01 01:29:110B / 52B / 25B

Fortran _

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

C# _

RankUserSizeTimeDateStatistics
1teebee1100.05542015/01/26 11:18:100B / 72B / 32B

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

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
1llhuii370.08392018/03/18 17:03:410B / 12B / 23B
2tails390.05832017/10/01 23:38:550B / 12B / 25B

make _

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

bc _

RankUserSizeTimeDateStatistics
1teebee370.01062015/01/25 23:02:430B / 16B / 20B

dc _

RankUserSizeTimeDateStatistics
1int-e300.02752015/01/26 06:50:240B / 21B / 9B

xgawk _

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

R _

RankUserSizeTimeDateStatistics
1teebee460.34982015/01/25 23:07:530B / 26B / 18B

Brainfuck _

RankUserSizeTimeDateStatistics
1mitchs (cheat)1430.11792017/01/09 06:31:352B / 1B / 139B
2mitchs1660.11232017/01/09 06:57:250B / 0B / 166B

Whitespace _

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

GolfScript _

RankUserSizeTimeDateStatistics
1tails190.14062015/01/26 05:27:240B / 9B / 10B
2clock190.12052015/02/02 22:11:570B / 9B / 10B
3mitchs190.14552017/01/05 17:31:290B / 9B / 10B

gs2 _

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

Burlesque _

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

x86 _

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

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
2Hendrik482.11402018/07/22 06:02:092B / 35B / 10B
3teebee492.91252015/01/25 23:10:390B / 35B / 12B
4rotary-o492.25072018/04/01 17:28:300B / 38B / 8B

Logo _

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

Language Ranking_

RankLangUserSizeScore
1gs2mitchs710000
2Kteebee174117
3JFrowny174117
4GolfScripttails193684
5BurlesqueHendrik193684
6gorubymitchs282500
7A+teebee292413
8dcint-e302333
9Rubyllhuii322187
10Ruby2llhuii322187
11Perlllhuii361944
12bcteebee371891
13Bash (builtins)llhuii371891
14PARI/GPmitchs391794
15Fortranteebee391794
16Pythonxnor391794
17Groovyteebee401750
18JavaScriptllhuii401750
19Ioteebee421666
20Python3xnor421666
21AWKteebee431627
22REXXteebee431627
23xgawkllhuii431627
24PHPteebee441590
25Xtalteebee441590
26Schemeteebee451555
27Rteebee461521
28Scalallhuii471489
29BASICteebee481458
30Maximateebee481458
31jqteebee481458
32Common LISPteebee491428
33Cllhuii561250
34ObjCllhuii561250
35Prologteebee571228
36Logoteebee581206
37Haskelloerjan591186
38Pikeclock611147
39Asymptoteteebee621129
40Basheban701000
41JavaQuuador71985
42C#teebee110636
43Erlangteebee112625
44Whitespacekaz_u118593
45maketails122573
46C++krishnaa128546
47Brainfuckmitchs (cheat)143489
48x86zf73809

return to the top page