More Web Proxy on the site http://driver.im/
floor log2
Submit
Language is selected by the extension of the file. See the list of supported languages to know the extension of your language.
Problem
Print floor(log2(N)).
1 <= N < 2^63
-- %20
Options
exec is denied
rejudge feature is enabled
now post-mortem time, all source codes will be revealed
Sample input:_
1
2
3
4
5
6
7
8
Sample output:
0
1
1
2
2
2
2
3
Sample input:_
1
2
3
4
7
8
15
16
31
32
63
64
127
128
255
256
511
512
1023
1024
2047
2048
4095
4096
8191
8192
16383
16384
32767
32768
65535
65536
131071
131072
262143
262144
524287
524288
1048575
1048576
2097151
2097152
4194303
4194304
8388607
8388608
16777215
16777216
33554431
33554432
67108863
67108864
134217727
134217728
268435455
268435456
536870911
536870912
1073741823
1073741824
2147483647
2147483648
4294967295
4294967296
8589934591
8589934592
17179869183
17179869184
34359738367
34359738368
68719476735
68719476736
137438953471
137438953472
274877906943
274877906944
549755813887
549755813888
1099511627775
1099511627776
2199023255551
2199023255552
4398046511103
4398046511104
8796093022207
8796093022208
17592186044415
17592186044416
35184372088831
35184372088832
70368744177663
70368744177664
140737488355327
140737488355328
281474976710655
281474976710656
562949953421311
562949953421312
1125899906842623
1125899906842624
2251799813685247
2251799813685248
4503599627370495
4503599627370496
9007199254740991
9007199254740992
18014398509481983
18014398509481984
36028797018963967
36028797018963968
72057594037927935
72057594037927936
144115188075855871
144115188075855872
288230376151711743
288230376151711744
576460752303423487
576460752303423488
1152921504606846975
1152921504606846976
2305843009213693951
2305843009213693952
4611686018427387903
4611686018427387904
9223372036854775807
Sample output:
0
1
1
2
2
3
3
4
4
5
5
6
6
7
7
8
8
9
9
10
10
11
11
12
12
13
13
14
14
15
15
16
16
17
17
18
18
19
19
20
20
21
21
22
22
23
23
24
24
25
25
26
26
27
27
28
28
29
29
30
30
31
31
32
32
33
33
34
34
35
35
36
36
37
37
38
38
39
39
40
40
41
41
42
42
43
43
44
44
45
45
46
46
47
47
48
48
49
49
50
50
51
51
52
52
53
53
54
54
55
55
56
56
57
57
58
58
59
59
60
60
61
61
62
62
Sample input:_
241813235679454389
3134630937643
13628141
148037
27917
2242697284059691734
7758
6307728338
16208642
35275186778
250928942
127921416136003110
605405603
21448305274055
3
47330547
6395991515514
4538615671016
367371231719795
11790270367665926
767015408951947613
13515937905792
1
277777507798272
2780098677385
470722
60756310679
92
78785603458794
138
2
913139461609
1529864
110762520
9772212
1617991512841888854
112315138971
19562165570694425
112840812909499
33826896055778
137309254757
6896056
109396545
186471
3741972084
10
2681632537
76152518142498
6801887336757737
758696179
994689
277565551347472542
372601440
40869
110512603458745886
1458210115551
80
45161
795293785989122
7
19
391060
70779085993074314
4142542205649
1884713325146696
55353188343342
14659
1555199
1570785
4002857
11434769708718698
631
6168137218799505
7714920008
2093012849463353106
831865989155
1
5462
1849598728871018
3689485253025435347
27215
11415937260539147
26
19841907107630458
10
356
7906619377
51944
3158982412018628235
883713919101
3889658821380
3371
56
961247255637
3769
11
6304408603667458
1054
172687678553
541695858
101482
2
21
1063433509888300
71554
2815716225453495613
21
1942727110400837214
1
51242
511384
13085787514
181081235535
3
1936
2
526697504
123
7354388
75082703
342402901508
1061540568978928
928
6097945783
2511956101101362
3117264206
11316504226535
1006970679205031728
50
23
34842453
1
10615115
12771874125701
278
161693816718481
1
2657862866583327476
93806773392319398
5874127393563
72650041131703
10118911
3728760667706760
876
399
19505718445869
2572060751495
499167
130851440844623347
5
12220442182
1889835
2359
751157627714
8120717
685325505395939675
32201764
3230744940
3
947424282021853754
2932413
16483447482259900
9631271415634309
21171524
26891
2
211760
40097
1553846602558332
545742252701
6503688462182622
88549
61041977
519623253413
176248856719
4051
125213205183143153
1
29
227
14
236193830635547024
343600095
24847286450619581
770782005366
19
83
1190041736643349440
37224962418702966
41
15
336910451315434954
27639561182101
815465
132090120
3295084155692210598
30250
61596824315398
55799752
794797928577
6554090746668857254
1018173133
12524745093488343
7832530838236504
6452011880
46606345260899
3310002328
1643814074568516
68892009349830819
3
1154469005
11
107714272940709
2271219
34157242
250058466241879476
14033634200837044
2073531667
488225625885082
618978
3
10818198
452396051207
106378095
862014752
768959088985286
66911296493857246
131484
158429655293072
111247078
122
7842103603861592
589136544826984
11867
10227976435964704
2
1564657448
25
1980420065
15098919
4114985
360797507147
1786271515470946686
3
1497601
16099118575
1916454483176711034
15316324326423473
6
3435221294343389
3102
407
433395183706945
36
813182246744415051
720817020913692
942077
21580052782
99799201356906119
56350
5994
6
205
1813961
498869158561062493
16253686
2084406911
4244977289384506
28420017772464462
2023
137725475492097560
11530
33631712653037519
62788
8391171268
205560290
491673719497
106195
2744428646329
484
196971326408
70715455090349
5224630323
108518
666
2664213238116942336
505506411908755
11130541481315398
958050579115
178884621
18378520541
4125096
280808244401635
165218170475246710
1
4271204747824390262
50715748
169819891684961660
6303
4030519
104418200063239
103821874626185
9144911981427345852
160922304
3
5615009806
52694494628
8240300658
1864646
791210564125761583
62947774327
997745232
925955979
57
709884
617836750008
1
4896
1493357698
8803190486482665421
1
2074595480
1838252
11837072714311209
53824870
22176065161081
117801872520952718
7087189036491152
2027101189
3810313189170814477
6990060
2
14207583612522825
5291987680487063
1
77152496892805442
103986
214920772453
31830
53798238
158876906285
59703232828906391
2114613695
1765915940711439
44739
2
13
149
8697631807
3277
279899792605550350
18273362248
124144
56903
57021200
1028769213
1299689980307
1963090
18901883963221
38631161367126
167
437
2772711606254
461753336232526
526445609
7694
78928
112137314
721360
28
1
3192263929
15
146631523255
12519766894432
33820307252078
2
392113
52764160903
1207304413957473080
1251683394853
413664699246
11761020
12758651273179
98133810476608987
10
19525075310
10590816856
3
355836803962838621
72253403
488792249710
12
1036017988927372254
104956432
108397
14
362247330018500
104
7536
88645
167180938209
3800504446
142262500783997742
1115567843309067618
11621682816546962
945
152330996781400368
30051
111859
2021097451
121469
7564968
1
264
5069190777478
14223
113934195474135094
3
5132
201649
20
3802867
257691881737018
690500526774
1963896343114137417
28674411
41790
6556970871183360818
7335859045
1020983
8300784
169
262794776
26437485000
793
4121157528
6
1
836
23334232
311239045695191374
3527669188081499
7
14609541884039413
1977969923952270
7380
2744
370860908
4215034850
29420651
7469
4
1422122139963375822
22354
1219102385
114
797374402
255905943499
8002399709695733
232303131
427257284163071
1718504778268
31450437
238608780216913789
12420114790930284
14140344342911382
28645992251
16665780
3875885615307815
531535661
4573367703983282
8956
3344203985
3043194
1
697362
9713027595771
1960222937464
27
1
44518
48649
213235889
8364602016270375715
464178809854
1858660
4767726933
3948044015
821910321724
8377
881696423
29659661200864136
278966696932521
720656408228483513
43316431377
31321809461
10558
53373567515
15321617935
Sample output:
57
41
23
17
14
60
12
32
23
35
27
56
29
44
1
25
42
42
48
53
59
43
0
47
41
18
35
6
46
7
1
39
20
26
23
60
36
54
46
44
36
22
26
17
31
3
31
46
52
29
19
57
28
15
56
40
6
15
49
2
4
18
55
41
50
45
13
20
20
21
53
9
52
32
60
39
0
12
50
61
14
53
4
54
3
8
32
15
61
39
41
11
5
39
11
3
52
10
37
29
16
1
4
49
16
61
4
60
0
15
18
33
37
1
10
1
28
6
22
26
38
49
9
32
51
31
43
59
5
4
25
0
23
43
8
47
0
61
56
42
46
23
51
9
8
44
41
18
56
2
33
20
11
39
22
59
24
31
1
59
21
53
53
24
14
1
17
15
50
38
52
16
25
38
37
11
56
0
4
7
3
57
28
54
39
4
6
60
55
5
3
58
44
19
26
61
14
45
25
39
62
29
53
52
32
45
31
50
55
1
30
3
46
21
25
57
53
30
48
19
1
23
38
26
29
49
55
17
47
26
6
52
49
13
53
1
30
4
30
23
21
38
60
1
20
33
60
53
2
51
11
8
48
5
59
49
19
34
56
15
12
2
7
20
58
23
30
51
54
10
56
13
54
15
32
27
38
16
41
8
37
46
32
16
9
61
48
53
39
27
34
21
47
57
0
61
25
57
12
21
46
46
62
27
1
32
35
32
20
59
35
29
29
5
19
39
0
12
30
62
0
30
20
53
25
44
56
52
30
61
22
1
53
52
0
56
16
37
14
25
37
55
30
50
15
1
3
7
33
11
57
34
16
15
25
29
40
20
44
45
7
8
41
48
28
12
16
26
19
4
0
31
3
37
43
44
1
18
35
60
40
38
23
43
56
3
34
33
1
58
26
38
3
59
26
16
3
48
6
12
16
37
31
56
59
53
9
57
14
16
30
16
22
0
8
42
13
56
1
12
17
4
21
47
39
60
24
15
62
32
19
22
7
27
34
9
31
2
0
9
24
58
51
2
53
50
12
11
28
31
24
12
2
60
14
30
6
29
37
52
27
48
40
24
57
53
53
34
23
51
28
52
13
31
21
0
19
43
40
4
0
15
15
27
62
38
20
32
31
39
13
29
54
47
59
35
34
13
35
33
Ranking
Rank | User | Size | Time | Date | Statistics |
---|
1 | rotary-o | 24 | 0.0490 | 2017/10/07 19:56:40 | 0B / 7B / 15B |
2 | teebee | 24 | 0.0435 | 2017/10/07 20:44:12 | 0B / 7B / 17B |
3 | mitchs | 24 | 0.0403 | 2017/10/08 00:51:18 | 0B / 7B / 15B |
4 | ludo | 24 | 0.0304 | 2017/10/21 10:28:09 | 0B / 7B / 15B |
5 | masakt | 27 | 0.0340 | 2017/10/08 14:05:30 | 0B / 11B / 16B |
6 | olf | 27 | 0.0274 | 2017/10/21 02:10:52 | 0B / 11B / 14B |
7 | %20 | 31 | 0.0289 | 2017/10/07 14:52:27 | 0B / 18B / 13B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | rotary-o | 24 | 0.1865 | 2017/10/07 19:56:27 | 0B / 7B / 15B |
2 | teebee | 24 | 0.1666 | 2017/10/07 20:49:41 | 0B / 7B / 15B |
3 | letranger | 24 | 0.1694 | 2017/10/07 21:00:33 | 0B / 7B / 15B |
4 | mitchs | 24 | 0.1982 | 2017/10/08 00:54:49 | 0B / 7B / 17B |
5 | ludo | 24 | 0.1869 | 2017/10/21 10:28:20 | 0B / 7B / 15B |
6 | masakt | 27 | 0.1958 | 2017/10/08 14:05:56 | 0B / 11B / 16B |
7 | %20 | 30 | 0.1830 | 2017/10/07 20:40:54 | 0B / 22B / 8B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | teebee | 31 | 0.0429 | 2017/10/07 19:31:53 | 0B / 12B / 17B |
2 | %20 | 31 | 0.1348 | 2017/10/08 08:32:42 | 0B / 14B / 15B |
3 | tails | 31 | 0.0428 | 2017/10/08 23:32:47 | 0B / 12B / 17B |
4 | shlomif | 31 | 0.0430 | 2017/10/18 03:22:44 | 0B / 12B / 17B |
5 | llhuii | 31 | 0.0447 | 2017/10/21 13:19:04 | 0B / 12B / 17B |
6 | kotatsugame | 34 | 0.0435 | 2017/10/08 01:59:16 | 0B / 14B / 20B |
7 | letranger | 38 | 0.0349 | 2017/10/08 06:58:30 | 0B / 20B / 14B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | teebee | 33 | 0.0780 | 2017/10/07 20:19:00 | 0B / 23B / 8B |
2 | %20 | 33 | 0.0731 | 2017/10/07 20:31:53 | 0B / 23B / 8B |
3 | rolf | 33 | 0.0804 | 2017/10/07 22:17:09 | 0B / 23B / 8B |
4 | Hendrik | 33 | 0.0737 | 2017/10/07 22:57:45 | 0B / 23B / 8B |
5 | mitchs | 33 | 0.1305 | 2017/10/08 00:59:01 | 0B / 23B / 8B |
6 | masakt | 33 | 0.0785 | 2017/10/08 14:39:19 | 0B / 23B / 8B |
7 | hallvabo | 33 | 0.1616 | 2017/10/09 22:10:48 | 0B / 23B / 10B |
8 | Mr. Xcoder | 33 | 0.0759 | 2017/10/10 02:22:46 | 0B / ?B / ?B |
9 | Malty | 33 | 0.1079 | 2017/10/10 06:26:59 | 0B / 23B / 8B |
10 | Maltysen | 33 | 0.0755 | 2017/10/10 06:28:09 | 0B / 23B / 8B |
11 | Erik the Outgolfer | 33 | 0.0818 | 2017/10/14 22:38:53 | 0B / 23B / 8B |
12 | llhuii | 33 | 0.0783 | 2017/10/20 23:02:19 | 0B / 23B / 8B |
13 | xnor | 33 | 0.0776 | 2017/10/21 05:46:03 | 0B / 23B / 8B |
14 | ludo | 33 | 0.0885 | 2017/10/21 10:29:23 | 0B / 23B / 8B |
15 | test | 52 | 0.0819 | 2017/10/07 22:54:57 | 0B / 30B / 13B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | teebee | 39 | 0.1283 | 2017/10/07 20:20:26 | 0B / 26B / 12B |
2 | %20 | 39 | 0.1156 | 2017/10/07 20:32:25 | 0B / 26B / 12B |
3 | rolf | 39 | 0.1189 | 2017/10/07 22:19:57 | 0B / 26B / 12B |
4 | mitchs | 39 | 0.1688 | 2017/10/08 01:01:16 | 0B / 26B / 12B |
5 | masakt | 39 | 0.1986 | 2017/10/08 14:25:30 | 0B / 26B / 12B |
6 | mypetlion | 39 | 0.1308 | 2017/10/11 06:33:53 | 0B / ?B / ?B |
7 | Mr. Xcoder | 39 | 0.1247 | 2017/10/14 14:52:25 | 0B / 26B / 12B |
8 | Erik the Outgolfer | 39 | 0.1303 | 2017/10/14 22:40:23 | 0B / 26B / 12B |
9 | llhuii | 39 | 0.1351 | 2017/10/20 23:02:48 | 0B / 26B / 12B |
10 | ludo | 39 | 0.1433 | 2017/10/21 10:29:54 | 0B / 26B / 12B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | teebee | 47 | 0.0769 | 2017/10/07 21:47:48 | 0B / 30B / 15B |
2 | hsu | 66 | 0.1571 | 2017/10/08 23:07:45 | 0B / ?B / ?B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | mitchs | 28 | 0.0378 | 2017/10/08 03:27:30 | 0B / 18B / 10B |
2 | teebee | 31 | 0.0465 | 2017/10/08 01:36:51 | 0B / 22B / 9B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | teebee | 19 | 1.2763 | 2017/10/18 05:48:17 | 0B / 13B / 3B |
2 | tails | 21 | 1.2961 | 2017/10/12 16:11:11 | 0B / 14B / 3B |
3 | %20 | 34 | 4.2658 | 2017/10/07 17:57:32 | 0B / 15B / 16B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | tails | 35 | 1.3732 | 2023/01/19 11:05:13 | 0B / 13B / 22B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | tails | 56 | 0.0317 | 2017/10/07 15:49:05 | 0B / 29B / 27B |
2 | nai | 56 | 0.0318 | 2017/10/09 11:00:36 | 0B / 29B / 27B |
3 | llhuii | 56 | 0.0317 | 2017/10/20 22:56:36 | 0B / 29B / 27B |
4 | lpha | 57 | 0.0317 | 2017/10/07 23:38:38 | 0B / 31B / 26B |
5 | %20 | 58 | 0.0321 | 2017/10/07 14:35:15 | 0B / 29B / 29B |
6 | kotatsugame | 78 | 0.0316 | 2017/10/10 04:15:39 | 0B / 49B / 27B |
7 | test | 80 | 0.0317 | 2017/10/14 00:14:41 | 0B / ?B / ?B |
8 | masakt | 102 | 0.0318 | 2017/10/08 15:30:11 | 0B / 60B / 40B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | quillaja | 173 | 0.0403 | 2019/08/04 11:18:47 | 0B / 96B / 39B |
2 | _ | 185 | 0.0307 | 2019/08/04 09:46:59 | 0B / ?B / ?B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | kimiyuki | 49 | 0.0425 | 2017/10/08 15:09:02 | 0B / 30B / 13B |
2 | %20 | 49 | 0.0417 | 2017/10/08 16:03:05 | 0B / 30B / 15B |
3 | henkma | 49 | 0.0432 | 2017/10/16 06:10:52 | 0B / 30B / 13B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | teebee | 126 | 0.2666 | 2017/10/07 21:34:54 | 0B / 89B / 32B |
2 | rotary-o | 126 | 0.2652 | 2017/10/08 00:40:27 | 0B / 89B / 32B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | %20 | 133 | 0.4803 | 2017/10/08 10:37:30 | 0B / 54B / 66B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | tails (gs2) | 17 | 0.1911 | 2017/10/17 13:51:58 | 1B / 7B / 7B |
2 | teebee(gs2) | 17 | 0.1895 | 2017/10/18 04:52:42 | 1B / 7B / 7B |
3 | tails | 21 | 0.0861 | 2017/10/17 13:37:34 | 0B / 15B / 5B |
4 | teebee | 21 | 0.0929 | 2017/10/18 04:54:40 | 0B / 15B / 5B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | tails | 42 | 0.3405 | 2017/10/21 12:38:50 | 0B / 17B / 20B |
2 | llhuii | 42 | 0.3342 | 2017/10/21 13:03:58 | 0B / 17B / 20B |
3 | McBusLuck | 47 | 0.2777 | 2022/03/06 00:48:54 | 0B / 18B / 25B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | teebee(gs2) | 17 | 0.2006 | 2017/10/18 04:57:26 | 1B / 7B / 7B |
2 | teebee | 22 | 0.0795 | 2017/10/08 21:26:38 | 0B / 15B / 6B |
3 | Hendrik | 27 | 0.0266 | 2017/10/09 19:39:05 | 0B / 12B / 14B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | tails | 28 | 0.0916 | 2017/10/09 01:08:43 | 0B / 19B / 9B |
2 | kotatsugame | 30 | 0.0985 | 2017/10/19 23:08:54 | 0B / 20B / 10B |
3 | %20 | 31 | 0.0932 | 2017/10/08 16:19:33 | 0B / 20B / 11B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | kaz_u | 86 | 0.1290 | 2017/10/11 00:35:32 | 0B / 0B / 0B |
2 | %20 | 92 | 0.1230 | 2017/10/11 00:53:48 | 0B / 0B / 0B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | mitchs | 13 | 0.1251 | 2017/10/07 22:46:02 | 0B / 6B / 7B |
2 | tails | 13 | 0.1244 | 2017/10/08 23:51:07 | 0B / 6B / 7B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | tails | 5 | 0.2046 | 2017/10/07 15:55:06 | 0B / 3B / 2B |
2 | mitchs | 5 | 0.2004 | 2017/10/09 03:55:58 | 0B / 3B / 2B |
3 | whio | 5 | 0.2018 | 2017/10/17 00:23:31 | 0B / 3B / 2B |
4 | teebee | 5 | 0.1998 | 2017/10/18 04:50:12 | 0B / 3B / 2B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | ludo | 21 | 0.0944 | 2017/10/21 14:33:14 | 0B / 11B / 10B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | teebee | 47 | 4.1931 | 2017/10/07 21:31:43 | 0B / 38B / 9B |
2 | rotary-o | 47 | 4.2054 | 2017/10/08 00:35:26 | 0B / 38B / 9B |
3 | Hendrik | 47 | 4.1110 | 2017/10/09 03:57:30 | 0B / 38B / 9B |
Language Ranking_
Rank | Lang | User | Size | Score |
1 | Nibbles | tails | 4 | 10000 |
2 | gs2 | tails | 5 | 8000 |
3 | Jelly | Erik the Outgolfer | 6 | 6666 |
4 | Burlesque | Hendrik | 11 | 3636 |
5 | GolfScript | mitchs | 13 | 3076 |
6 | Bash | tails (gs2) | 17 | 2352 |
7 | Zsh | teebee(gs2) | 17 | 2352 |
8 | Fish | teebee(gs2) | 18 | 2222 |
9 | K | teebee | 19 | 2105 |
10 | Perl6 | teebee | 19 | 2105 |
11 | goruby | ludo | 21 | 1904 |
12 | Ruby2 | rotary-o | 24 | 1666 |
13 | Ruby | rotary-o | 24 | 1666 |
14 | PARI/GP | mitchs | 28 | 1428 |
15 | dc | tails | 28 | 1428 |
16 | Perl | teebee | 31 | 1290 |
17 | Python | teebee | 33 | 1212 |
18 | Atlas | tails | 35 | 1142 |
19 | xgawk | tails (llhuii,teebee) | 36 | 1111 |
20 | Prolog | teebee | 38 | 1052 |
21 | Python3 | teebee | 39 | 1025 |
22 | Bash (builtins) | tails | 42 | 952 |
23 | Scala | teebee | 47 | 851 |
24 | Common LISP | teebee | 47 | 851 |
25 | Scheme | teebee | 47 | 851 |
26 | Haskell | kimiyuki | 49 | 816 |
27 | LilyPond | teebee | 50 | 800 |
28 | AWK | llhuii(teebee(llhuii)) | 52 | 769 |
29 | C | tails | 56 | 714 |
30 | Groovy | teebee | 57 | 701 |
31 | Maxima | teebee | 61 | 655 |
32 | JavaScript | teebee | 79 | 506 |
33 | Whitespace | kaz_u | 86 | 465 |
34 | Java | teebee | 126 | 317 |
35 | sed | %20 | 133 | 300 |
36 | Go | quillaja | 173 | 231 |
return to the top page