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 07:09Yuriy LyfenkoYuriy LyfenkoScore: 5,274Success
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 07:095,21841,070,86715,655,0001,043,0002,265,088
2May 28, 2021 07:095,21942,038,36416,701,00002,387,968
3May 28, 2021 07:095,22348,526,74715,671,0001,044,0002,392,064
4May 28, 2021 07:095,23432,528,45015,703,0001,046,0002,396,160
5May 28, 2021 07:095,26534,078,90314,866,0001,982,0002,392,064
6May 28, 2021 07:095,27343,230,88415,880,000992,0002,265,088
7May 28, 2021 07:095,27438,924,73014,892,0001,985,0002,265,088
8May 28, 2021 07:095,27441,616,55515,885,000992,0002,392,064
9May 28, 2021 07:095,28841,216,11414,930,0001,990,0002,265,088
10May 28, 2021 07:095,41948,169,81017,339,52102,277,376
11May 28, 2021 07:095,46544,999,83617,488,29302,285,568
12May 28, 2021 07:095,46786,011,30017,495,58902,273,280