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 24, 2025 19:58lukostlukostScore: 5,273Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 24, 2025 19:585,23340,136,98516,744,00002,453,504
2Apr 24, 2025 19:585,26940,584,79515,869,000991,0002,527,232
3Apr 24, 2025 19:585,27237,842,29816,869,00002,527,232
4Apr 24, 2025 19:585,27339,612,39114,888,0001,985,0002,527,232
5Apr 24, 2025 19:585,27346,333,65316,873,00002,437,120
6Apr 24, 2025 19:585,27442,882,35616,877,00002,527,232
7Apr 24, 2025 19:585,27629,925,82014,898,0001,986,0002,445,312
8Apr 24, 2025 19:585,27847,961,05215,897,000993,0002,433,024
9Apr 24, 2025 19:585,29036,871,18615,934,000995,0002,531,328