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 17, 2021 19:29Yuriy LyfenkoYuriy LyfenkoScore: 5,360Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2021 19:295,342551,020,95114,078,0003,016,0002,265,088
2May 17, 2021 19:295,3422,955,358,70216,090,0001,005,0002,269,184
3May 17, 2021 19:295,348336,127,88817,113,00002,269,184
4May 17, 2021 19:295,3512,610,272,23717,124,00002,265,088
5May 17, 2021 19:295,3532,640,591,16516,123,0001,007,0002,265,088
6May 17, 2021 19:295,3541,763,108,69816,182,000951,0002,392,064
7May 17, 2021 19:295,3602,021,650,19915,246,0001,905,0002,265,088
8May 17, 2021 19:295,3651,684,713,20816,158,0001,009,0002,392,064
9May 17, 2021 19:295,378387,310,40416,253,000956,0002,273,280
10May 17, 2021 19:295,5241,400,841,47017,676,18302,277,376
11May 17, 2021 19:295,5452,817,407,20617,743,51302,277,376
12May 17, 2021 19:295,550142,237,07117,759,79702,277,376