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 16:59Yuriy LyfenkoYuriy LyfenkoScore: 5,277Success
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 16:595,23347,370,65315,699,0001,046,0002,265,088
2May 23, 2021 16:595,26735,195,88014,872,0001,982,0002,265,088
3May 23, 2021 16:595,27242,122,44515,878,000992,0002,265,088
4May 23, 2021 16:595,27433,786,96314,891,0001,985,0002,396,160
5May 23, 2021 16:595,27435,248,13815,885,000992,0002,265,088
6May 23, 2021 16:595,27649,088,13614,896,0001,986,0002,396,160
7May 23, 2021 16:595,27739,221,09215,894,000993,0002,527,232
8May 23, 2021 16:595,28639,432,54414,926,0001,990,0002,396,160
9May 23, 2021 16:595,31637,727,04015,011,0002,001,0002,392,064
10May 23, 2021 16:595,47382,631,11817,513,72202,273,280
11May 23, 2021 16:595,49280,343,83817,575,25902,273,280
12May 23, 2021 16:595,54471,400,52917,740,35402,277,376