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 listApr 13, 2026 02:21Joad NacerJoad NacerScore: 4,918Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 13, 2026 02:214,86836,546,46514,540,0001,038,0002,428,928
2Apr 13, 2026 02:214,91844,116,24014,687,0001,049,0002,420,736
3Apr 13, 2026 02:215,16739,939,23315,501,0001,033,0002,433,024