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 25, 2025 12:34zielajzielajScore: 367,663Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 25, 2025 12:34366,5971,204,562,9851,171,116,0001,995,0002,265,088
2Apr 25, 2025 12:40366,8931,204,347,5871,173,061,000997,0002,490,368
3Apr 25, 2025 12:40367,3181,199,148,0771,175,416,00002,527,232
4Apr 25, 2025 12:34367,6631,202,041,9601,176,520,00002,527,232
5Apr 25, 2025 12:34367,7031,201,778,7821,176,650,00002,490,368
6Apr 25, 2025 12:40368,2151,202,213,9691,177,291,000997,0002,265,088