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 28, 2021 20:43Dmitry DolgopolovDmitry DolgopolovScore: 5,109Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 28, 2021 20:435,07628,492,21614,214,0002,030,0002,449,408
2May 28, 2021 20:435,08136,303,78114,227,0002,032,0002,273,280
3May 28, 2021 20:435,08137,455,42315,244,0001,016,0002,535,424
4May 28, 2021 20:435,08430,630,19715,252,0001,016,0002,273,280
5May 28, 2021 20:435,09739,335,22115,291,0001,019,0002,535,424
6May 28, 2021 20:435,10837,412,77915,323,0001,021,0002,457,600
7May 28, 2021 20:435,10939,969,97215,328,0001,021,0002,445,312
8May 28, 2021 20:435,11337,456,48815,340,0001,022,0002,449,408
9May 28, 2021 20:435,11938,860,79716,382,00002,535,424
10May 28, 2021 20:435,35342,439,74217,128,87302,256,896
11May 28, 2021 20:435,37188,016,77017,186,49702,207,744
12May 28, 2021 20:435,38549,682,96317,232,31002,203,648