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 25, 2021 00:39Egor SergeevEgor SergeevScore: 5,638Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 25, 2021 00:395,58731,645,78616,884,000993,0002,531,328
2May 25, 2021 00:395,59939,581,42214,932,0002,986,0002,277,376
3May 25, 2021 00:395,60639,596,10314,950,0002,990,0002,281,472
4May 25, 2021 00:395,60940,879,75615,954,0001,994,0002,392,064
5May 25, 2021 00:395,62542,164,77516,001,0002,000,0002,277,376
6May 25, 2021 00:395,63045,745,10316,015,0002,001,0002,277,376
7May 25, 2021 00:395,63844,322,22016,038,0002,004,0002,277,376
8May 25, 2021 00:395,63947,976,16316,984,0001,061,0002,269,184
9May 25, 2021 00:395,66945,381,48415,119,0003,023,0002,277,376
10May 25, 2021 00:395,83571,822,93018,672,31802,248,704
11May 25, 2021 00:395,85382,431,21918,728,88802,174,976
12May 25, 2021 00:395,86851,575,16018,777,36202,297,856