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 20, 2026 14:11M-RochatM-RochatScore: 5,071Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 20, 2026 14:125,02727,158,98316,089,00002,113,536
2May 20, 2026 14:125,04025,783,20716,131,00002,113,536
3May 20, 2026 14:125,05628,307,49316,180,00002,113,536
4May 20, 2026 14:125,05725,348,67216,183,00002,113,536
5May 20, 2026 14:125,07125,426,06516,228,00002,113,536
6May 20, 2026 14:125,08727,361,71116,281,00002,113,536
7May 20, 2026 14:125,08925,723,84215,278,0001,008,0002,113,536
8May 20, 2026 14:125,09525,847,77415,262,0001,045,0002,113,536
9May 20, 2026 14:125,10526,033,71815,281,0001,056,0002,113,536