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 listOct 7, 2025 17:56Aleksei ShahoikaAleksei ShahoikaScore: 4,715Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 7, 2025 17:564,66135,343,35612,927,0001,988,0002,265,088
2Oct 7, 2025 17:564,66937,878,82413,945,000996,0002,523,136
3Oct 7, 2025 17:564,69336,144,84213,015,0002,002,0002,265,088
4Oct 7, 2025 17:564,70537,438,08813,048,0002,007,0002,519,040
5Oct 7, 2025 17:564,71532,767,92213,076,0002,011,0002,265,088
6Oct 7, 2025 17:564,71832,779,16513,086,0002,013,0002,265,088
7Oct 7, 2025 17:564,73039,856,10613,117,0002,018,0002,523,136
8Oct 7, 2025 17:564,73340,062,89913,125,0002,019,0002,285,568
9Oct 7, 2025 17:564,74740,188,45313,164,0002,025,0002,285,568