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:08Yuriy LyfenkoYuriy LyfenkoScore: 5,059Success
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:085,02339,207,28715,069,0001,004,0002,412,544
2May 30, 2021 17:085,02643,390,39314,072,0002,010,0002,412,544
3May 30, 2021 17:085,02837,425,29415,085,0001,005,0002,281,472
4May 30, 2021 17:085,03340,858,72614,093,0002,013,0002,281,472
5May 30, 2021 17:085,03738,031,67415,110,0001,007,0002,281,472
6May 30, 2021 17:085,05537,384,00714,155,0002,022,0002,400,256
7May 30, 2021 17:085,05940,351,01915,177,0001,011,0002,396,160
8May 30, 2021 17:085,07533,298,08515,225,0001,015,0002,281,472
9May 30, 2021 17:085,10033,125,71315,300,0001,020,0002,404,352
10May 30, 2021 17:085,21381,431,33616,682,35802,297,856
11May 30, 2021 17:085,22276,544,21616,710,51702,289,664
12May 30, 2021 17:085,24979,027,10316,796,58202,281,472