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 5, 2026 12:25FrederickFrederickScore: 4,279Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 5, 2026 12:254,26222,459,84912,631,0001,009,0002,117,632
2Oct 5, 2026 12:254,26222,568,33912,633,0001,008,0002,117,632
3Oct 5, 2026 12:254,26522,495,41812,641,0001,008,0002,117,632
4Oct 5, 2026 12:254,27122,573,79812,658,0001,010,0002,117,632
5Oct 5, 2026 12:254,27923,224,03812,669,0001,025,0002,117,632
6Oct 5, 2026 12:254,27923,836,93812,665,0001,029,0002,117,632
7Oct 5, 2026 12:254,28022,501,57712,686,0001,011,0002,117,632
8Oct 5, 2026 12:254,28122,533,99812,686,0001,014,0002,117,632
9Oct 5, 2026 12:254,30722,420,47912,676,0001,108,0002,117,632