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 23, 2021 19:46Yuriy LyfenkoYuriy LyfenkoScore: 5,202Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 23, 2021 19:465,15438,916,29915,464,0001,030,0002,392,064
2May 23, 2021 19:465,15639,217,99515,467,0001,031,0002,269,184
3May 23, 2021 19:465,15640,636,77215,468,0001,031,0002,265,088
4May 23, 2021 19:465,17240,624,06016,550,00002,265,088
5May 23, 2021 19:465,17836,512,53115,533,0001,035,0002,265,088
6May 23, 2021 19:465,18134,035,45516,578,00002,265,088
7May 23, 2021 19:465,20246,581,34615,606,0001,040,0002,265,088
8May 23, 2021 19:465,20442,525,10616,654,00002,265,088
9May 23, 2021 19:465,21341,824,32215,639,0001,042,0002,392,064
10May 23, 2021 19:465,41980,887,07817,341,83002,269,184
11May 23, 2021 19:465,42777,044,36817,367,63802,273,280
12May 23, 2021 19:465,47075,792,21117,505,03102,277,376