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 28, 2025 18:22zielajzielajScore: 374,071Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 28, 2025 18:26372,9431,220,396,1141,192,421,000997,0002,527,232
2Apr 28, 2025 18:22373,3581,219,555,1181,193,748,000997,0002,265,088
3Apr 28, 2025 18:26374,0631,221,685,8231,196,006,000997,0002,527,232
4Apr 28, 2025 18:22374,0711,226,346,5571,196,029,000997,0002,527,232
5Apr 28, 2025 18:22374,2761,226,277,0631,197,683,00002,527,232
6Apr 28, 2025 18:26374,5421,225,047,2311,198,534,00002,527,232