Count uint8 Sergey Svistunov

Count the number of bytes equal to 127 in a binary stream as fast as possible.

Input: 250 000 000 uint8 values in binary on STDIN.

Output: The count of elements equal to 127, printed as a decimal string.

Back to listFeb 1, 2023 21:40Victor MuñozVictor MuñozScore: 5,320Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 11, 2023 19:075,28233,118,86314,915,0001,988,0002,392,064
2Feb 1, 2023 21:405,28341,234,25514,917,0001,988,0002,392,064
3Jan 11, 2023 19:065,28648,119,21616,915,00002,265,088
4Jan 11, 2023 19:065,29832,489,95114,961,0001,994,0002,265,088
5Jan 11, 2023 19:075,30441,425,18414,976,0001,996,0002,265,088
6Feb 1, 2023 21:405,30641,399,08215,981,000998,0002,383,872
7Feb 1, 2023 21:405,30635,284,10914,982,0001,997,0002,265,088
8Jan 11, 2023 19:065,30736,584,79614,984,0001,997,0002,527,232
9Jan 11, 2023 19:065,30831,577,12714,986,0001,998,0002,396,160
10Feb 1, 2023 21:405,30832,645,61115,985,000999,0002,265,088
11Jan 11, 2023 19:075,31443,134,06216,005,0001,000,0002,265,088
12Jan 11, 2023 19:065,31439,707,65916,005,0001,000,0002,502,656
13Jan 11, 2023 19:075,31536,085,01115,008,0002,001,0002,396,160
14Jan 11, 2023 19:075,31541,295,40215,007,0002,000,0002,265,088
15Jan 11, 2023 19:065,31546,533,13516,007,0001,000,0002,265,088
16Feb 1, 2023 21:405,31643,374,83415,009,0002,001,0002,506,752
17Feb 1, 2023 21:405,31745,908,82516,013,0001,000,0002,383,872
18Jan 11, 2023 19:065,31845,202,06315,015,0002,002,0002,265,088
19Feb 1, 2023 21:405,32048,983,30916,024,0001,001,0002,392,064
20Jan 11, 2023 19:065,32243,359,16715,027,0002,003,0002,392,064
21Feb 1, 2023 21:405,32433,820,17115,033,0002,004,0002,527,232
22Jan 11, 2023 19:075,32748,611,44616,043,0001,002,0002,387,968
23Jan 11, 2023 19:065,32841,382,31315,045,0002,006,0002,387,968
24Jan 11, 2023 19:075,32931,486,73915,046,0002,006,0002,396,160
25Feb 1, 2023 21:405,33144,504,59816,055,0001,003,0002,523,136
26Jan 11, 2023 19:075,33344,070,15817,064,00002,387,968
27Jan 11, 2023 19:075,33842,530,84116,078,0001,004,0002,265,088
28Jan 11, 2023 19:075,53191,598,03817,700,18702,289,664
29Feb 1, 2023 21:405,53283,275,88917,701,95302,281,472
30Jan 11, 2023 19:065,53692,298,26417,715,87602,277,376
31Jan 11, 2023 19:065,538101,789,64917,723,10302,240,512
32Feb 1, 2023 21:405,54658,949,41417,748,30902,281,472
33Jan 11, 2023 19:075,55187,365,51717,763,73002,285,568
34Jan 11, 2023 19:065,55166,927,65217,764,01602,277,376
35Jan 11, 2023 19:075,59183,693,01717,890,34902,277,376
36Feb 1, 2023 21:405,70888,994,66318,266,54902,240,512