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 listAug 31, 2026 17:17Josu San MartinJosu San MartinScore: 4,234Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 31, 2026 17:184,22021,881,50912,475,0001,032,0002,113,536
2Aug 31, 2026 17:184,22821,960,08512,500,0001,032,0002,113,536
3Aug 31, 2026 17:184,22921,932,83312,504,0001,030,0002,113,536
4Aug 31, 2026 17:184,23321,729,50812,535,0001,013,0002,113,536
5Aug 31, 2026 17:184,23421,987,45412,510,0001,041,0002,113,536
6Aug 31, 2026 17:184,23821,942,51712,541,0001,022,0002,113,536
7Aug 31, 2026 17:184,23921,730,04412,543,0001,023,0002,113,536
8Aug 31, 2026 17:184,24621,765,40912,559,0001,029,0002,113,536
9Aug 31, 2026 17:184,25022,018,07412,574,0001,028,0002,113,536