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 listMay 15, 2021 19:33alex3dalex3dScore: 6,165Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 15, 2021 19:336,11539,545,48318,539,0001,029,0002,326,528
2May 15, 2021 19:336,12344,124,70018,561,0001,031,0002,330,624
3May 15, 2021 19:336,12644,379,40517,539,0002,063,0002,527,232
4May 15, 2021 19:336,14445,990,16618,626,0001,034,0002,527,232
5May 15, 2021 19:336,14542,343,42916,559,0003,104,0002,330,624
6May 15, 2021 19:336,15047,217,90717,610,0002,071,0002,326,528
7May 15, 2021 19:336,16048,662,19418,674,0001,037,0002,330,624
8May 15, 2021 19:336,16550,988,60818,691,0001,038,0002,531,328
9May 15, 2021 19:336,20043,335,60717,857,0001,984,0002,531,328
10May 15, 2021 19:336,20588,271,37919,854,98802,232,320
11May 15, 2021 19:336,21983,390,36019,901,22802,244,608
12May 15, 2021 19:336,25288,369,11020,006,93802,232,320
13May 15, 2021 19:336,25490,121,20920,013,15902,232,320
14May 15, 2021 19:336,30692,068,44320,180,56502,244,608
15May 15, 2021 19:336,33182,404,86320,259,44202,240,512