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:34Chandrasekaran AkashChandrasekaran AkashScore: 4,481Success
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:344,45935,865,42213,250,0001,019,0002,437,120
2Apr 6, 2025 08:344,46140,626,47513,257,0001,019,0002,531,328
3Apr 6, 2025 08:344,46529,795,14512,247,0002,041,0002,531,328
4Apr 6, 2025 08:344,47629,808,42313,300,0001,023,0002,531,328
5Apr 6, 2025 08:344,48137,341,95613,314,0001,024,0002,424,832
6Apr 6, 2025 08:344,48534,340,27312,301,0002,050,0002,433,024
7Apr 6, 2025 08:344,49234,721,02512,322,0002,053,0002,531,328
8Apr 6, 2025 08:344,50835,749,60413,394,0001,030,0002,428,928
9Apr 6, 2025 08:344,52030,095,17813,431,0001,033,0002,424,832