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 15:16SODIUM IS NOT A CATSODIUM IS NOT A CATScore: 4,810Success
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 15:164,77526,040,00215,282,00002,113,536
2May 16, 2026 15:164,78024,026,19815,299,00002,113,536
3May 16, 2026 15:164,78924,615,83115,326,00002,113,536
4May 16, 2026 15:164,79524,696,23615,345,00002,113,536
5May 16, 2026 15:164,81024,174,38714,352,0001,042,0002,113,536
6May 16, 2026 15:164,81824,178,68415,419,00002,113,536
7May 16, 2026 15:164,82023,956,38614,380,0001,045,0002,113,536
8May 16, 2026 15:164,82324,171,59715,435,00002,113,536
9May 16, 2026 15:164,84327,018,02414,488,0001,010,0002,113,536