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 27, 2021 18:20Yuriy LyfenkoYuriy LyfenkoScore: 5,092Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 27, 2021 18:205,05137,447,59515,153,0001,010,0002,265,088
2May 27, 2021 18:205,05943,532,43014,165,0002,023,0002,265,088
3May 27, 2021 18:205,06027,919,32215,180,0001,012,0002,396,160
4May 27, 2021 18:205,06243,758,51114,173,0002,024,0002,527,232
5May 27, 2021 18:205,06435,483,48014,179,0002,025,0002,387,968
6May 27, 2021 18:205,07533,679,26814,211,0002,030,0002,527,232
7May 27, 2021 18:205,09240,531,60716,294,00002,392,064
8May 27, 2021 18:205,10237,223,71915,305,0001,020,0002,396,160
9May 27, 2021 18:205,11041,231,65816,352,00002,265,088
10May 27, 2021 18:205,28244,487,23816,903,05202,273,280
11May 27, 2021 18:205,29447,446,73616,939,39202,281,472
12May 27, 2021 18:205,33376,876,83317,066,66902,277,376