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 listAug 3, 2026 17:14Teow Hua JunTeow Hua JunError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 3, 2026 17:14025,634,10914,592,0001,107,0002,113,536expected "975156 ", got "975155 "
2Aug 3, 2026 17:14025,530,84414,609,0001,077,0002,113,536expected "976764 ", got "976763 "
3Aug 3, 2026 17:144,92525,648,94314,692,0001,071,0002,113,536