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 08:06Chandrasekaran AkashChandrasekaran AkashScore: 4,485Success
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 08:064,47738,175,97214,325,00002,437,120
2Apr 6, 2025 08:064,47741,568,88013,304,0001,023,0002,269,184
3Apr 6, 2025 08:064,47930,522,68213,310,0001,023,0002,433,024
4Apr 6, 2025 08:064,48334,314,64914,345,00002,531,328
5Apr 6, 2025 08:064,48546,945,99613,327,0001,025,0002,433,024
6Apr 6, 2025 08:064,48633,466,98413,329,0001,025,0002,531,328
7Apr 6, 2025 08:064,49529,198,41114,383,00002,510,848
8Apr 6, 2025 08:064,49829,907,07814,395,00002,531,328
9Apr 6, 2025 08:064,52437,333,55514,478,00002,531,328