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 listMar 25, 2025 18:12wainCGPwainCGPScore: 36,929Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 25, 2025 18:1236,798149,789,01816,964,000100,789,0002,465,792
2Mar 25, 2025 18:1236,929149,524,55117,025,000101,149,0002,441,216
3Mar 25, 2025 18:1237,284138,415,76917,044,000102,266,0002,371,584