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 listDec 25, 2021 00:36Alexander KimAlexander KimScore: 5,822Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 25, 2021 00:365,77246,165,84117,443,0001,026,0002,424,832
2Dec 25, 2021 00:365,78442,991,88917,480,0001,028,0002,543,616
3Dec 25, 2021 00:365,78440,895,62918,508,00002,342,912
4Dec 25, 2021 00:365,80041,011,38418,559,00002,334,720
5Dec 25, 2021 00:365,80347,445,58116,507,0002,063,0002,301,952
6Dec 25, 2021 00:365,80638,286,79718,579,00002,334,720
7Dec 25, 2021 00:365,82250,966,19616,561,0002,070,0002,293,760
8Dec 25, 2021 00:365,82446,436,03817,601,0001,035,0002,293,760
9Dec 25, 2021 00:365,82845,749,40116,578,0002,072,0002,326,528
10Dec 25, 2021 00:365,84892,006,62618,712,46202,277,376
11Dec 25, 2021 00:365,86082,357,91418,751,93402,281,472
12Dec 25, 2021 00:365,89587,630,18918,865,45602,285,568