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 24, 2021 20:09Yuriy LyfenkoYuriy LyfenkoScore: 5,137Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 24, 2021 20:095,10945,529,31916,350,00002,265,088
2May 24, 2021 20:095,11339,867,19715,339,0001,022,0002,265,088
3May 24, 2021 20:095,11439,340,92415,344,0001,022,0002,265,088
4May 24, 2021 20:095,11633,733,28616,370,00002,392,064
5May 24, 2021 20:095,12137,461,84516,387,00002,265,088
6May 24, 2021 20:095,13136,858,13316,419,00002,392,064
7May 24, 2021 20:095,13745,463,73215,412,0001,027,0002,383,872
8May 24, 2021 20:095,15432,771,95015,464,0001,030,0002,265,088
9May 24, 2021 20:095,15637,048,37115,469,0001,031,0002,383,872
10May 24, 2021 20:095,27363,650,79616,872,31602,277,376
11May 24, 2021 20:095,31356,040,35017,002,09602,273,280
12May 24, 2021 20:095,33567,472,84317,073,28902,269,184