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 listJul 7, 2026 22:19IlyaIlyaScore: 4,254Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 7, 2026 22:194,22923,012,21812,509,0001,025,0002,113,536
2Jul 7, 2026 22:194,22922,995,84812,529,0001,005,0002,113,536
3Jul 7, 2026 22:194,22922,909,09212,523,0001,012,0002,113,536
4Jul 7, 2026 22:194,24023,023,60612,555,0001,014,0002,113,536
5Jul 7, 2026 22:194,25423,115,20912,539,0001,076,0002,113,536
6Jul 7, 2026 22:194,26023,110,25012,598,0001,036,0002,113,536
7Jul 7, 2026 22:194,26223,105,02012,604,0001,037,0002,113,536
8Jul 7, 2026 22:194,31823,311,92712,688,0001,132,0002,113,536
9Jul 7, 2026 22:194,40423,671,14713,053,0001,040,0002,113,536