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 16, 2025 15:02Christian BernardChristian BernardScore: 5,593Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 16, 2025 15:025,53335,994,31716,663,0001,041,0002,387,968
2Apr 16, 2025 15:025,57448,379,44115,855,0001,981,0002,523,136
3Apr 16, 2025 15:025,58234,863,59115,879,0001,984,0002,383,872
4Apr 16, 2025 15:025,58745,436,65916,885,000993,0002,387,968
5Apr 16, 2025 15:025,59346,350,18915,908,0001,988,0002,260,992
6Apr 16, 2025 15:025,59344,790,25916,905,000994,0002,260,992
7Apr 16, 2025 15:025,59442,525,72416,908,000994,0002,506,752
8Apr 16, 2025 15:025,61137,712,19015,960,0001,995,0002,523,136
9Apr 16, 2025 15:025,61847,010,42516,979,000998,0002,523,136