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:15lukostlukostScore: 5,006Success
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:154,97939,771,53813,942,0001,991,0002,441,216
2Apr 26, 2025 20:154,98930,293,03313,969,0001,995,0002,445,312
3Apr 26, 2025 20:204,99241,045,78614,977,000998,0002,449,408
4Apr 26, 2025 20:154,99434,049,89113,983,0001,997,0002,449,408
5Apr 26, 2025 20:205,00235,815,86614,006,0002,000,0002,539,520
6Apr 26, 2025 20:155,00436,701,06114,011,0002,001,0002,531,328
7Apr 26, 2025 20:155,00628,730,26714,018,0002,002,0002,449,408
8Apr 26, 2025 20:155,01436,125,85914,039,0002,005,0002,441,216
9Apr 26, 2025 20:155,01938,000,05514,054,0002,007,0002,449,408
10Apr 26, 2025 20:155,02539,035,30214,070,0002,010,0002,449,408
11Apr 26, 2025 20:205,02839,589,64714,080,0002,011,0002,449,408
12Apr 26, 2025 20:155,03334,138,79914,091,0002,013,0002,449,408