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 listJan 26, 2025 21:45Ian MckibbenIan MckibbenScore: 4,484Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 26, 2025 21:454,45633,471,89913,240,0001,018,0002,269,184
2Jan 26, 2025 21:454,47634,235,61514,322,00002,433,024
3Jan 26, 2025 21:454,47730,653,94013,302,0001,023,0002,531,328
4Jan 26, 2025 21:454,48030,224,14414,335,00002,424,832
5Jan 26, 2025 21:454,48427,865,93513,324,0001,024,0002,433,024
6Jan 26, 2025 21:454,49334,001,89513,350,0001,026,0002,437,120
7Jan 26, 2025 21:454,50831,745,53213,395,0001,030,0002,428,928
8Jan 26, 2025 21:454,51230,294,12014,438,00002,531,328
9Jan 26, 2025 21:454,51341,702,86413,409,0001,031,0002,531,328