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:35SODIUM IS NOT A CATSODIUM IS NOT A CATScore: 4,787Success
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:354,75923,994,10315,230,00002,113,536
2May 16, 2026 15:354,77826,518,80314,287,0001,005,0002,113,536
3May 16, 2026 15:354,78025,970,72814,275,0001,023,0002,113,536
4May 16, 2026 15:354,78224,127,46614,299,0001,005,0002,113,536
5May 16, 2026 15:354,78724,798,56014,278,0001,043,0002,113,536
6May 16, 2026 15:354,79526,145,25914,320,0001,026,0002,113,536
7May 16, 2026 15:354,81626,051,86914,396,0001,018,0002,113,536
8May 16, 2026 15:354,82624,003,47014,417,0001,029,0002,113,536
9May 16, 2026 15:354,85325,928,90114,499,0001,031,0002,113,536