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 listApr 10, 2026 19:31Pavel SkripkinPavel SkripkinScore: 10,376Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 10, 2026 19:3110,32854,014,67131,048,0002,003,0002,433,024
2Apr 10, 2026 19:3110,36856,835,14131,166,0002,010,0002,281,472
3Apr 10, 2026 19:3110,36850,884,57732,172,0001,005,0002,420,736
4Apr 10, 2026 19:3110,37161,413,03431,176,0002,011,0002,433,024
5Apr 10, 2026 19:3110,37655,583,17131,192,0002,012,0002,281,472
6Apr 10, 2026 19:3110,37851,284,82531,199,0002,012,0002,277,376
7Apr 10, 2026 19:3110,38352,094,47831,212,0002,013,0002,281,472
8Apr 10, 2026 19:3110,38656,188,84731,221,0002,014,0002,441,216
9Apr 10, 2026 19:3110,39655,502,85233,267,00002,281,472