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 7, 2025 10:04Chandrasekaran AkashChandrasekaran AkashScore: 4,345Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 7, 2025 10:044,33729,286,76213,879,00002,535,424
2Apr 7, 2025 10:044,34129,042,18712,899,000992,0002,277,376
3Apr 7, 2025 10:044,34132,173,85512,900,000992,0002,277,376
4Apr 7, 2025 10:044,34127,764,49512,900,000992,0002,535,424
5Apr 7, 2025 10:044,34532,597,63612,911,000993,0002,510,848
6Apr 7, 2025 10:044,34846,675,52812,919,000993,0002,510,848
7Apr 7, 2025 10:044,36530,301,14412,972,000997,0002,273,280
8Apr 7, 2025 10:044,37030,273,51912,986,000998,0002,273,280
9Apr 7, 2025 10:044,37230,335,60612,990,000999,0002,277,376