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 26, 2025 20:24lukostlukostScore: 5,013Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 26, 2025 20:244,98541,611,52513,959,0001,994,0002,539,520
2Apr 26, 2025 20:244,99536,069,84113,987,0001,998,0002,445,312
3Apr 26, 2025 20:245,00036,938,98714,000,0002,000,0002,445,312
4Apr 26, 2025 20:245,01135,746,54814,030,0002,004,0002,453,504
5Apr 26, 2025 20:245,01336,493,70214,037,0002,005,0002,539,520
6Apr 26, 2025 20:245,01340,287,58815,041,0001,002,0002,441,216
7Apr 26, 2025 20:245,03429,579,54314,095,0002,013,0002,535,424
8Apr 26, 2025 20:245,03841,165,60414,105,0002,015,0002,539,520
9Apr 26, 2025 20:245,03830,513,22614,108,0002,015,0002,437,120