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:20Christian BernardChristian BernardScore: 5,591Success
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:205,53745,419,08816,676,0001,042,0002,387,968
2Apr 16, 2025 15:205,57544,435,48715,859,0001,982,0002,383,872
3Apr 16, 2025 15:205,59039,283,10615,902,0001,987,0002,519,040
4Apr 16, 2025 15:205,59042,779,56015,902,0001,987,0002,523,136
5Apr 16, 2025 15:205,59140,820,14815,903,0001,987,0002,387,968
6Apr 16, 2025 15:205,59241,275,65915,906,0001,988,0002,523,136
7Apr 16, 2025 15:205,59443,307,52116,906,000994,0002,523,136
8Apr 16, 2025 15:205,59647,825,41816,914,000994,0002,523,136
9Apr 16, 2025 15:205,60342,870,09716,932,000996,0002,523,136