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
1leonid330.00722015/01/30 06:03:310B / 15B / 17B
2teebee330.01012015/01/30 08:20:100B / 15B / 17B
3clock330.01062015/02/02 22:19:540B / 15B / 17B
4mitchs330.01682017/01/05 17:28:590B / 15B / 17B
5Histocrat350.02432015/01/28 07:54:430B / 15B / 20B
6Histocrat (luck)350.02432015/01/28 07:55:040B / 15B / 20B

Ruby2 _

RankUserSizeTimeDateStatistics
1mitchs330.08382017/01/06 12:08:100B / 15B / 17B

Perl _

RankUserSizeTimeDateStatistics
1llhuii380.01552015/03/27 23:05:120B / 11B / 26B
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
1llhuii420.16992015/02/01 09:58:090B / 23B / 19B
2mitchs460.04772017/01/05 17:40:540B / 29B / 16B
3leonid470.04942015/01/27 05:40:130B / 28B / 17B
4teebee470.03842015/01/27 07:50:370B / 27B / 19B
5xsot470.03682015/01/28 14:23:200B / 28B / 18B
6clock470.03692015/02/02 22:27:130B / 28B / 18B
7xnor470.03892015/06/10 07:50:270B / ?B / ?B
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
1llhuii450.05522015/02/01 10:00:500B / 25B / 18B
2mitchs500.21672015/01/25 16:51:080B / 33B / 13B
3teebee500.11102015/01/26 10:12:250B / 31B / 16B

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
1teebee450.02552015/01/25 22:47:060B / 28B / 17B
2clock450.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
1random210.01852015/01/28 03:23:150B / ?B / ?B
2Hendrik210.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

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
1teebee750.09312015/01/26 07:36:420B / 49B / 24B
2fatO790.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
2llhuii450.08342015/01/26 19:41:570B / 24B / 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
1tails460.01282016/10/16 18:01:440B / 20B / 24B

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
1teebee440.01162015/01/27 08:17:320B / 23B / 21B
2llhuii450.01822015/07/12 22:45:050B / ?B / ?B

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

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
1teebee492.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
2Kteebee174117
3GolfScripttails193684
4BurlesqueHendrik193684
5Jrandom213333
6gorubymitchs282500
7A+teebee292413
8dcint-e302333
9Rubyleonid332121
10Ruby2mitchs332121
11bcteebee371891
12Perlllhuii381842
13PARI/GPmitchs391794
14Fortranteebee391794
15Groovyteebee401750
16Ioteebee421666
17Pythonllhuii421666
18AWKteebee431627
19REXXteebee431627
20PHPteebee441590
21xgawkteebee441590
22Xtalteebee441590
23JavaScriptteebee451555
24Schemeteebee451555
25Python3llhuii451555
26Rteebee461521
27Bash (builtins)tails461521
28BASICteebee481458
29Maximateebee481458
30jqteebee481458
31Scalateebee491428
32Common LISPteebee491428
33Cllhuii561250
34ObjCllhuii561250
35Prologteebee571228
36Logoteebee581206
37Haskelloerjan591186
38Pikeclock611147
39Asymptoteteebee621129
40Basheban701000
41Javateebee75933
42C#teebee110636
43Erlangteebee112625
44Whitespacekaz_u118593
45Brainfuckmitchs (cheat)143489

return top