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 20, 2026 15:17BenBenScore: 4,703Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 20, 2026 15:204,67732,814,52612,972,0001,995,0002,256,896
2Apr 20, 2026 15:204,69536,854,12914,026,0001,001,0002,506,752
3Apr 20, 2026 15:204,69739,496,52213,028,0002,004,0002,506,752
4Apr 20, 2026 15:204,70031,163,53414,040,0001,002,0002,252,800
5Apr 20, 2026 15:204,70330,676,78313,044,0002,006,0002,252,800
6Apr 20, 2026 15:204,71445,548,23213,074,0002,011,0002,252,800
7Apr 20, 2026 15:204,72340,265,55113,101,0002,015,0002,510,848
8Apr 20, 2026 15:204,73150,498,27113,122,0002,018,0002,510,848
9Apr 20, 2026 15:204,73734,764,80813,139,0002,021,0002,510,848