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 9, 2025 20:59Ian MckibbenIan MckibbenScore: 6,001Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 9, 2025 20:595,96640,889,94417,083,0002,009,0002,269,184
2Jan 9, 2025 20:595,98148,355,74617,124,0002,014,0002,293,760
3Jan 9, 2025 20:595,98143,153,85418,131,0001,007,0002,293,760
4Jan 9, 2025 20:596,00042,719,30317,179,0002,021,0002,293,760
5Jan 9, 2025 20:596,00146,829,90917,183,0002,021,0002,293,760
6Jan 9, 2025 20:596,00546,481,31417,194,0002,022,0002,293,760
7Jan 9, 2025 20:596,00748,329,19418,211,0001,011,0002,281,472
8Jan 9, 2025 20:596,00743,188,58517,200,0002,023,0002,293,760
9Jan 9, 2025 20:596,03440,638,60917,278,0002,032,0002,293,760