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 16, 2025 10:50Valentin KofmanValentin KofmanScore: 5,127Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 16, 2025 10:504,67431,173,42412,963,0001,994,0002,269,184
2Jul 16, 2025 10:504,71237,160,66113,069,0002,010,0002,285,568
3Jul 16, 2025 10:504,72342,629,78013,098,0002,015,0002,285,568
4Jul 16, 2025 10:505,12737,423,02715,382,0001,025,0002,285,568
5Jul 16, 2025 10:505,14134,638,09815,423,0001,028,0002,519,040
6Jul 16, 2025 10:505,17836,669,42415,536,0001,035,0002,285,568