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 30, 2021 20:34Egor SergeevEgor SergeevScore: 5,183Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 30, 2021 20:345,15632,941,64016,499,00002,277,376
2May 30, 2021 20:345,15729,104,84816,501,00002,502,656
3May 30, 2021 20:345,16145,144,78616,515,00002,277,376
4May 30, 2021 20:345,16333,055,14016,523,00002,277,376
5May 30, 2021 20:345,16629,042,70116,530,00002,277,376
6May 30, 2021 20:345,16747,383,33516,534,00002,277,376
7May 30, 2021 20:345,18339,265,20816,584,00002,490,368
8May 30, 2021 20:345,21241,172,19716,677,00002,273,280
9May 30, 2021 20:345,21437,296,76416,684,00002,277,376
10May 30, 2021 20:345,40471,156,65317,291,67502,260,992
11May 30, 2021 20:345,41971,061,26917,340,36202,260,992
12May 30, 2021 20:345,42862,886,45617,370,05702,236,416