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 listApr 7, 2022 19:51Egor SergeevEgor SergeevScore: 5,280Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 7, 2022 19:515,26941,783,76715,869,000991,0002,498,560
2Apr 7, 2022 19:515,27142,773,21516,867,00002,498,560
3Apr 7, 2022 19:515,27233,088,32316,870,00002,531,328
4Apr 7, 2022 19:515,27330,827,87015,880,000992,0002,498,560
5Apr 7, 2022 19:515,27331,915,36915,880,000992,0002,498,560
6Apr 7, 2022 19:515,27344,639,80015,881,000992,0002,498,560
7Apr 7, 2022 19:515,28042,723,44715,902,000993,0002,506,752
8Apr 7, 2022 19:515,28832,052,22915,928,000995,0002,269,184
9Apr 7, 2022 19:515,32142,861,70715,023,0002,003,0002,498,560
10Apr 7, 2022 19:515,50555,814,50817,616,65502,252,800
11Apr 7, 2022 19:515,53290,073,29017,701,14502,252,800
12Apr 7, 2022 19:515,57896,200,03117,848,09802,240,512