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 listOct 12, 2025 19:53caandocaandoScore: 4,658Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 12, 2025 19:534,64632,298,96313,877,000991,0002,285,568
2Oct 12, 2025 19:534,64731,179,36812,887,0001,982,0002,523,136
3Oct 12, 2025 19:534,65037,097,95013,889,000992,0002,375,680
4Oct 12, 2025 19:534,65039,107,10313,889,000992,0002,285,568
5Oct 12, 2025 19:534,65833,747,72212,919,0001,987,0002,510,848
6Oct 12, 2025 19:534,65843,902,23812,920,0001,987,0002,285,568
7Oct 12, 2025 19:534,66842,203,92412,947,0001,991,0002,265,088
8Oct 12, 2025 19:534,67338,738,96312,961,0001,994,0002,265,088
9Oct 12, 2025 19:534,67937,894,51812,977,0001,996,0002,285,568