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 listMay 2, 2025 22:21zielajzielajScore: 367,349Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 2, 2025 22:06366,5701,200,164,1141,172,028,000997,0002,265,088
2May 2, 2025 22:21366,8941,203,815,2781,173,063,000997,0002,527,232
3May 2, 2025 22:05366,9481,203,154,4621,173,236,000997,0002,498,560
4May 2, 2025 22:05367,1851,203,510,0921,172,998,0001,994,0002,490,368
5May 2, 2025 22:06367,3491,199,704,5511,174,519,000997,0002,486,272
6May 2, 2025 22:05367,3511,201,091,2661,174,527,000997,0002,527,232
7May 2, 2025 22:06367,3611,201,915,6911,175,555,00002,265,088
8May 2, 2025 22:21367,5711,196,651,2181,176,227,00002,265,088
9May 2, 2025 22:21367,7031,205,091,9341,176,650,00002,478,080