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:09Christian BernardChristian BernardScore: 5,588Success
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:095,53535,016,22017,713,00002,523,136
2Apr 16, 2025 15:095,58346,707,96816,872,000992,0002,387,968
3Apr 16, 2025 15:095,58347,414,11716,875,000992,0002,523,136
4Apr 16, 2025 15:095,58638,846,52015,890,0001,986,0002,387,968
5Apr 16, 2025 15:095,58838,411,84117,880,00002,502,656
6Apr 16, 2025 15:095,58845,697,70316,887,000993,0002,392,064
7Apr 16, 2025 15:095,59250,465,59516,900,000994,0002,523,136
8Apr 16, 2025 15:095,59339,851,96417,898,00002,523,136
9Apr 16, 2025 15:095,61448,392,86915,969,0001,996,0002,260,992