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 13:35Keichi TakahashiKeichi TakahashiScore: 5,271Success
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 13:355,21632,990,40116,691,00002,392,064
2May 30, 2022 13:355,23135,793,69615,693,0001,046,0002,265,088
3May 30, 2022 13:355,23336,213,78315,699,0001,046,0002,379,776
4May 30, 2022 13:355,25942,868,17914,849,0001,979,0002,392,064
5May 30, 2022 13:355,26135,272,31714,856,0001,980,0002,265,088
6May 30, 2022 13:355,26644,351,17114,870,0001,982,0002,265,088
7May 30, 2022 13:355,27140,666,35615,875,000992,0002,490,368
8May 30, 2022 13:355,27243,129,34715,877,000992,0002,265,088
9May 30, 2022 13:355,27345,263,60815,881,000992,0002,392,064
10May 30, 2022 13:355,45292,978,50417,446,06002,285,568
11May 30, 2022 13:355,46271,580,31517,476,88102,277,376
12May 30, 2022 13:355,66381,659,04818,120,42102,269,184