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 05:52Chandrasekaran AkashChandrasekaran AkashScore: 5,292Success
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 05:495,28141,642,80215,904,000994,0002,445,312
2Apr 6, 2025 05:525,28143,280,37916,898,00002,445,312
3Apr 6, 2025 05:535,28440,367,28616,908,00002,445,312
4Apr 6, 2025 05:515,28543,248,70015,919,000994,0002,445,312
5Apr 6, 2025 05:515,28942,861,72116,925,00002,441,216
6Apr 6, 2025 05:535,29133,828,65515,935,000995,0002,445,312
7Apr 6, 2025 05:495,29242,212,78215,937,000996,0002,523,136
8Apr 6, 2025 05:525,29846,325,68715,955,000997,0002,527,232
9Apr 6, 2025 05:515,32141,776,76716,027,0001,001,0002,441,216
10Apr 6, 2025 05:525,32346,624,12315,031,0002,004,0002,449,408
11Apr 6, 2025 05:495,32534,183,99115,036,0002,004,0002,433,024
12Apr 6, 2025 05:535,35636,633,05216,132,0001,008,0002,449,408