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 27, 2025 13:45wainCGPwainCGPScore: 5,323Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 29, 2025 12:485,29939,592,68215,960,000997,0002,428,928
2Mar 27, 2025 13:455,30332,024,78815,971,000998,0002,437,120
3Mar 29, 2025 12:485,30844,459,23614,987,0001,998,0002,531,328
4Mar 27, 2025 13:455,32336,740,20315,031,0002,004,0002,531,328
5Mar 27, 2025 13:455,33236,760,62416,060,0001,003,0002,510,848
6Mar 29, 2025 12:485,34839,114,96015,099,0002,013,0002,269,184