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 listDec 20, 2025 20:46jhallgreenjhallgreenScore: 5,278Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 20, 2025 20:465,26643,249,68414,869,0001,982,0002,510,848
2Dec 20, 2025 20:465,27044,273,97816,864,00002,510,848
3Dec 20, 2025 20:465,27144,216,52914,882,0001,984,0002,375,680
4Dec 20, 2025 20:465,27141,090,63915,876,000992,0002,514,944
5Dec 20, 2025 20:465,27833,060,72415,897,000993,0002,379,776
6Dec 20, 2025 20:465,28243,467,18314,915,0001,988,0002,510,848
7Dec 20, 2025 20:465,28836,883,53114,930,0001,990,0002,375,680
8Dec 20, 2025 20:465,30343,811,71515,970,000998,0002,510,848
9Dec 20, 2025 20:465,30447,876,22015,976,000998,0002,514,944