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 30, 2021 17:33Yuriy LyfenkoYuriy LyfenkoScore: 5,271Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 30, 2021 17:335,22551,631,14715,676,0001,045,0002,404,352
2May 30, 2021 17:335,22844,675,32115,684,0001,045,0002,400,256
3May 30, 2021 17:335,22841,795,23915,685,0001,045,0002,400,256
4May 30, 2021 17:335,25834,200,42114,845,0001,979,0002,281,472
5May 30, 2021 17:335,26134,354,24416,834,00002,408,448
6May 30, 2021 17:335,27033,915,51416,864,00002,281,472
7May 30, 2021 17:335,27143,996,89915,876,000992,0002,408,448
8May 30, 2021 17:335,27548,685,86016,879,00002,281,472
9May 30, 2021 17:335,30142,372,03214,967,0001,995,0002,408,448
10May 30, 2021 17:335,39559,491,31417,265,37602,289,664
11May 30, 2021 17:335,41769,731,75817,332,97302,293,760
12May 30, 2021 17:335,42971,609,21517,372,61702,285,568