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 25, 2021 14:58Yuriy LyfenkoYuriy LyfenkoScore: 5,118Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 25, 2021 14:585,05844,290,50214,162,0002,023,0002,265,088
2May 25, 2021 14:585,07844,059,97514,220,0002,031,0002,392,064
3May 25, 2021 14:585,09733,359,45015,290,0001,019,0002,265,088
4May 25, 2021 14:585,10232,837,97116,327,00002,506,752
5May 25, 2021 14:585,10632,308,82215,319,0001,021,0002,265,088
6May 25, 2021 14:585,10840,435,73015,325,0001,021,0002,265,088
7May 25, 2021 14:585,11843,116,86115,356,0001,023,0002,392,064
8May 25, 2021 14:585,12334,283,83616,393,00002,527,232
9May 25, 2021 14:585,14634,230,82516,468,00002,265,088
10May 25, 2021 14:585,27581,311,57316,880,63302,277,376
11May 25, 2021 14:585,28246,376,39516,902,69402,281,472
12May 25, 2021 14:585,30649,561,20916,977,66502,273,280