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 3, 2026 23:10Tim RaddatzTim RaddatzScore: 7,592Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 3, 2026 23:106,77632,794,93720,580,0001,106,0002,113,536
2Oct 3, 2026 23:107,57334,637,90123,205,0001,030,0002,113,536
3Oct 3, 2026 23:107,57436,088,93823,194,0001,044,0002,113,536
4Oct 3, 2026 23:107,58535,427,07123,147,0001,128,0002,113,536
5Oct 3, 2026 23:107,59234,766,20023,186,0001,109,0002,113,536
6Oct 3, 2026 23:107,60035,472,52723,200,0001,120,0002,113,536
7Oct 3, 2026 23:107,60434,689,66923,314,0001,019,0002,113,536
8Oct 3, 2026 23:107,64134,855,68123,330,0001,123,0002,113,536
9Oct 3, 2026 23:107,64535,594,53923,355,0001,110,0002,113,536