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 22, 2025 15:52KeefeKeefeScore: 4,466Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 22, 2025 15:524,45032,566,63512,207,0002,034,0002,433,024
2Apr 22, 2025 15:484,45330,945,31412,214,0002,035,0002,531,328
3Apr 22, 2025 15:484,45632,990,56412,222,0002,037,0002,420,736
4Apr 22, 2025 15:484,46036,815,89213,254,0001,019,0002,531,328
5Apr 22, 2025 15:484,46134,805,73312,237,0002,039,0002,433,024
6Apr 22, 2025 15:484,46429,330,46714,284,00002,531,328
7Apr 22, 2025 15:484,46629,345,47114,290,00002,514,944
8Apr 22, 2025 15:484,47230,158,09913,287,0001,022,0002,269,184
9Apr 22, 2025 15:524,47835,052,10613,308,0001,023,0002,269,184
10Apr 22, 2025 15:484,48330,107,03613,320,0001,024,0002,428,928
11Apr 22, 2025 15:524,48328,095,85314,347,00002,433,024
12Apr 22, 2025 15:484,49433,401,37814,380,00002,531,328