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 7, 2026 08:12Uladzislau NestsiarukUladzislau NestsiarukScore: 5,642Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 7, 2026 08:125,61244,212,50214,966,0002,993,0002,265,088
2Apr 7, 2026 08:125,63146,409,35417,019,0001,001,0002,277,376
3Apr 7, 2026 08:125,63533,466,74616,030,0002,003,0002,277,376
4Apr 7, 2026 08:125,63742,406,80316,034,0002,004,0002,523,136
5Apr 7, 2026 08:125,64242,771,76416,049,0002,006,0002,265,088
6Apr 7, 2026 08:125,64338,898,81716,050,0002,006,0002,269,184
7Apr 7, 2026 08:125,64637,131,03415,057,0003,011,0002,277,376
8Apr 7, 2026 08:125,67633,691,31616,144,0002,018,0002,269,184
9Apr 7, 2026 08:125,67843,964,22816,152,0002,019,0002,277,376