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 18, 2026 22:49Aniruddha DebAniruddha DebScore: 4,112Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 18, 2026 22:494,09231,589,01212,088,0001,008,0002,121,728stderr
2Aug 18, 2026 22:494,09631,607,76112,096,0001,014,0002,121,728stderr
3Aug 18, 2026 22:494,10732,255,09212,120,0001,023,0002,121,728stderr
4Aug 18, 2026 22:494,10731,649,10712,112,0001,033,0002,121,728stderr
5Aug 18, 2026 22:494,11231,644,61912,129,0001,030,0002,121,728stderr
6Aug 18, 2026 22:494,11831,604,89512,161,0001,018,0002,121,728stderr
7Aug 18, 2026 22:494,13231,730,27912,216,0001,009,0002,121,728stderr
8Aug 18, 2026 22:494,14034,816,19512,213,0001,037,0002,121,728stderr
9Aug 18, 2026 22:494,16631,829,31812,292,0001,042,0002,121,728stderr