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 listMay 16, 2026 06:40SODIUM IS NOT A CATSODIUM IS NOT A CATScore: 5,050Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 16, 2026 06:415,03426,134,16116,111,00002,113,536
2May 16, 2026 06:415,03827,764,69416,122,00002,113,536
3May 16, 2026 06:415,04326,199,79316,139,00002,113,536
4May 16, 2026 06:415,04925,469,17016,157,00002,113,536
5May 16, 2026 06:415,05025,682,75916,163,00002,113,536
6May 16, 2026 06:415,05528,669,06516,179,00002,113,536
7May 16, 2026 06:415,06226,701,15215,195,0001,006,0002,113,536
8May 16, 2026 06:415,06827,706,98815,190,0001,030,0002,113,536
9May 16, 2026 06:415,08524,956,36715,249,0001,023,0002,113,536