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 listJun 9, 2024 20:42джулисджулисScore: 5,278Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 9, 2024 20:425,22839,630,93715,686,0001,045,0002,293,760
2Jun 9, 2024 20:425,26835,890,70815,865,000991,0002,293,760
3Jun 9, 2024 20:425,27048,630,35616,865,00002,293,760
4Jun 9, 2024 20:425,27243,338,19515,877,000992,0002,375,680
5Jun 9, 2024 20:425,27640,659,56015,890,000993,0002,293,760
6Jun 9, 2024 20:425,27743,016,91714,899,0001,986,0002,293,760
7Jun 9, 2024 20:425,27836,328,43416,888,00002,371,584
8Jun 9, 2024 20:425,27843,056,84115,897,000993,0002,371,584
9Jun 9, 2024 20:425,27943,271,83015,899,000993,0002,363,392
10Jun 9, 2024 20:425,43685,318,84017,393,80802,260,992
11Jun 9, 2024 20:425,48682,786,16017,554,43802,240,512
12Jun 9, 2024 20:425,51874,327,86917,659,09002,244,608