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 listAug 3, 2024 05:40MylesMylesScore: 4,548Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 3, 2024 05:404,52728,619,93213,451,0001,034,0002,281,472
2Aug 3, 2024 05:404,52834,652,72313,456,0001,035,0002,281,472
3Aug 3, 2024 05:404,53330,465,21013,470,0001,036,0002,281,472
4Aug 3, 2024 05:404,53740,611,80113,481,0001,037,0002,449,408
5Aug 3, 2024 05:404,53741,095,57413,481,0001,037,0002,281,472
6Aug 3, 2024 05:404,53830,343,96313,485,0001,037,0002,281,472
7Aug 3, 2024 05:404,54836,517,76313,513,0001,039,0002,453,504
8Aug 3, 2024 05:404,54829,674,77213,515,0001,039,0002,457,600
9Aug 3, 2024 05:404,56541,185,34013,566,0001,043,0002,453,504
10Aug 3, 2024 05:404,80686,569,35715,378,93702,199,552
11Aug 3, 2024 05:404,81689,438,81815,412,01602,207,744
12Aug 3, 2024 05:404,82082,304,85715,422,99402,191,360