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 11, 2025 22:22zielajzielajScore: 365,989Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 11, 2025 22:22365,2831,196,883,4451,168,906,00002,490,368
2May 11, 2025 22:17365,5831,202,940,8501,168,870,000997,0002,527,232
3May 11, 2025 22:17365,7791,197,388,1061,170,493,00002,486,272
4May 11, 2025 22:22365,9891,201,260,1851,169,170,0001,995,0002,490,368
5May 11, 2025 22:22366,0111,197,651,7691,170,239,000997,0002,502,656
6May 11, 2025 22:17366,0121,196,526,0561,170,241,000997,0002,494,464