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 14:34Chandrasekaran AkashChandrasekaran AkashScore: 4,361Success
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 14:344,34431,836,65212,909,000993,0002,502,656
2Apr 6, 2025 14:344,34633,486,98212,915,000993,0002,502,656
3Apr 6, 2025 14:344,35128,315,06413,922,00002,502,656
4Apr 6, 2025 14:344,35134,095,27412,929,000994,0002,498,560
5Apr 6, 2025 14:344,36129,359,50012,960,000996,0002,273,280
6Apr 6, 2025 14:344,36631,227,59012,973,000997,0002,273,280
7Apr 6, 2025 14:344,37130,146,78812,988,000999,0002,277,376
8Apr 6, 2025 14:344,37233,222,87912,991,000999,0002,277,376
9Apr 6, 2025 14:344,37233,837,65712,992,000999,0002,277,376