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 listOct 27, 2021 09:29Ilya AniskovetsIlya AniskovetsScore: 5,441Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 27, 2021 09:295,39834,222,80515,242,0002,032,0002,383,872
2Oct 27, 2021 09:295,42134,730,66816,326,0001,020,0002,392,064
3Oct 27, 2021 09:295,42133,169,31916,328,0001,020,0002,527,232
4Oct 27, 2021 09:295,43034,862,85115,331,0002,044,0002,265,088
5Oct 27, 2021 09:295,43940,525,25516,381,0001,023,0002,265,088
6Oct 27, 2021 09:295,43934,924,58017,406,00002,392,064
7Oct 27, 2021 09:295,44138,731,63217,410,00002,265,088
8Oct 27, 2021 09:295,44940,672,05517,437,00002,383,872
9Oct 27, 2021 09:295,45438,276,09116,426,0001,026,0002,379,776
10Oct 27, 2021 09:295,61783,748,40417,973,14502,293,760
11Oct 27, 2021 09:295,63491,537,75018,028,16002,281,472
12Oct 27, 2021 09:295,65673,400,38818,099,36402,277,376