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, 2022 12:40Keichi TakahashiKeichi TakahashiScore: 5,453Success
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, 2022 12:405,39938,537,83617,278,00002,265,088
2May 30, 2022 12:405,42240,671,56516,330,0001,020,0002,527,232
3May 30, 2022 12:405,42337,031,82216,333,0001,020,0002,265,088
4May 30, 2022 12:405,42441,615,33315,315,0002,042,0002,387,968
5May 30, 2022 12:405,43850,905,28117,401,00002,383,872
6May 30, 2022 12:405,44943,383,72017,436,00002,387,968
7May 30, 2022 12:405,45339,517,83016,422,0001,026,0002,265,088
8May 30, 2022 12:405,45440,596,80117,452,00002,502,656
9May 30, 2022 12:405,45937,091,63217,470,00002,387,968
10May 30, 2022 12:405,50085,148,84617,600,60902,281,472
11May 30, 2022 12:405,50287,242,91317,607,76602,281,472
12May 30, 2022 12:405,53081,049,08117,695,34202,277,376