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 listJul 28, 2024 09:30BenBenScore: 4,648Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 28, 2024 09:304,59939,885,57513,666,0001,051,0002,392,064
2Jul 28, 2024 09:304,60139,665,04714,724,00002,265,088
3Jul 28, 2024 09:304,61241,005,96213,775,000983,0002,265,088
4Jul 28, 2024 09:304,64632,149,41614,867,00002,265,088
5Jul 28, 2024 09:304,64644,325,61813,876,000991,0002,265,088
6Jul 28, 2024 09:304,64732,396,62113,880,000991,0002,265,088
7Jul 28, 2024 09:304,64838,322,17813,882,000991,0002,387,968
8Jul 28, 2024 09:304,65233,846,35614,885,00002,392,064
9Jul 28, 2024 09:304,65230,607,51813,895,000992,0002,265,088
10Jul 28, 2024 09:304,85786,519,98215,542,58002,281,472
11Jul 28, 2024 09:304,86889,261,98715,578,09402,285,568
12Jul 28, 2024 09:304,87587,830,18515,601,57202,285,568