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 10:55Elijah KinElijah KinScore: 3,004,192Success
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 10:552,995,8909,614,403,2069,549,864,00036,983,0002,289,664
2Jun 27, 2025 10:553,002,3459,633,639,7249,587,513,00019,992,0002,277,376
3Jun 27, 2025 10:553,002,7859,638,261,9929,580,924,00027,988,0002,277,376
4Jun 27, 2025 10:553,003,0319,639,929,7409,572,719,00036,979,0002,289,664
5Jun 27, 2025 10:553,004,1929,647,291,2989,576,433,00036,982,0002,277,376
6Jun 27, 2025 10:553,019,0589,686,514,5159,630,998,00029,987,0002,285,568
7Jun 27, 2025 10:553,028,6339,717,375,3729,655,637,00035,987,0002,277,376
8Jun 27, 2025 10:553,053,9369,801,602,7219,742,613,00029,983,0002,285,568
9Jun 27, 2025 10:553,151,03210,109,270,81610,055,312,00027,989,0002,285,568