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 27, 2025 00:07zielajzielajScore: 368,072Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 27, 2025 00:07367,2891,199,311,6521,174,328,000997,0002,265,088
2Apr 27, 2025 00:04367,7911,206,110,2341,175,933,000997,0002,498,560
3Apr 27, 2025 00:04367,9711,207,523,7501,176,511,000997,0002,527,232
4Apr 27, 2025 00:07368,0721,210,492,6331,177,831,00002,527,232
5Apr 27, 2025 00:04368,2871,203,538,3021,177,520,000997,0002,494,464
6Apr 27, 2025 00:07368,9271,211,465,6181,180,567,00002,265,088