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 3, 2026 07:36IlyaIlyaScore: 4,568Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 3, 2026 07:364,55524,413,66413,544,0001,035,0002,113,536
2Aug 3, 2026 07:364,56024,446,42813,524,0001,068,0002,113,536
3Aug 3, 2026 07:364,56124,476,51313,521,0001,076,0002,113,536
4Aug 3, 2026 07:364,56824,507,49213,553,0001,067,0002,113,536
5Aug 3, 2026 07:364,56824,471,03713,583,0001,036,0002,113,536
6Aug 3, 2026 07:364,57124,464,10013,544,0001,084,0002,113,536
7Aug 3, 2026 07:364,58124,502,63713,573,0001,089,0002,113,536
8Aug 3, 2026 07:364,58624,533,50313,597,0001,079,0002,113,536
9Aug 3, 2026 07:364,59024,489,62313,613,0001,077,0002,113,536