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 13:26Chandrasekaran AkashChandrasekaran AkashScore: 4,348Success
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 13:264,33534,575,72712,882,000990,0002,277,376
2Apr 7, 2025 13:264,33630,559,71012,885,000991,0002,277,376
3Apr 7, 2025 13:264,34134,523,72412,900,000992,0002,510,848
4Apr 7, 2025 13:264,34432,029,21113,901,00002,277,376
5Apr 7, 2025 13:264,34830,052,52712,921,000993,0002,277,376
6Apr 7, 2025 13:264,35927,273,10212,954,000996,0002,273,280
7Apr 7, 2025 13:264,36727,633,57312,975,000998,0002,277,376
8Apr 7, 2025 13:264,38028,447,37713,014,0001,001,0002,273,280
9Apr 7, 2025 13:264,38135,909,89912,016,0002,002,0002,506,752