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 5, 2025 08:12thatmagicalcatthatmagicalcatScore: 5,599Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 5, 2025 08:125,58342,311,32016,875,000992,0002,285,568
2Jun 5, 2025 08:125,58547,730,00515,887,0001,985,0002,351,104
3Jun 5, 2025 08:125,58647,833,41915,889,0001,986,0002,355,200
4Jun 5, 2025 08:125,59944,698,43215,927,0001,990,0002,285,568
5Jun 5, 2025 08:125,60745,072,38415,948,0001,993,0002,465,792
6Jun 5, 2025 08:125,65143,779,08316,075,0002,009,0002,359,296