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 22, 2026 12:28BenBenScore: 4,718Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 22, 2026 12:294,68632,293,94312,999,0001,999,0002,342,912
2Apr 22, 2026 12:294,69432,479,97613,020,0002,003,0002,342,912
3Apr 22, 2026 12:294,69837,393,52313,031,0002,004,0002,527,232
4Apr 22, 2026 12:294,69831,619,17813,030,0002,004,0002,519,040
5Apr 22, 2026 12:294,71834,181,87213,087,0002,013,0002,535,424
6Apr 22, 2026 12:294,72339,189,05213,099,0002,015,0002,527,232
7Apr 22, 2026 12:294,72531,834,90712,097,0003,024,0002,523,136
8Apr 22, 2026 12:294,72931,090,41712,108,0003,027,0002,342,912
9Apr 22, 2026 12:294,75336,001,77113,183,0002,028,0002,342,912