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 27, 2025 11:00Elijah KinElijah KinScore: 3,054,483Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 27, 2025 11:003,004,6679,651,249,0839,579,949,00034,985,0002,519,040
2Jun 27, 2025 11:003,054,4839,804,424,8359,747,360,00026,987,0002,285,568
3Jun 27, 2025 11:003,117,81010,008,494,8449,945,004,00031,987,0002,277,376