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 6, 2025 07:13Chandrasekaran AkashChandrasekaran AkashScore: 4,981Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 6, 2025 07:134,96435,250,98513,901,0001,985,0002,269,184
2Apr 6, 2025 07:134,96840,615,93913,909,0001,987,0002,531,328
3Apr 6, 2025 07:134,97140,088,21613,919,0001,988,0002,269,184
4Apr 6, 2025 07:134,97339,777,34913,925,0001,989,0002,441,216
5Apr 6, 2025 07:134,98133,355,31513,946,0001,992,0002,449,408
6Apr 6, 2025 07:134,98736,586,97413,963,0001,994,0002,453,504
7Apr 6, 2025 07:134,99341,863,60313,980,0001,997,0002,441,216
8Apr 6, 2025 07:134,99740,538,31913,992,0001,998,0002,445,312
9Apr 6, 2025 07:135,00335,717,53014,007,0002,001,0002,531,328