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 24, 2025 18:35lukostlukostScore: 6,063Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 24, 2025 18:356,03442,822,27116,260,0003,048,0002,375,680
2Apr 24, 2025 18:356,05040,093,90715,284,0004,075,0002,273,280
3Apr 24, 2025 18:356,05638,111,99716,320,0003,060,0002,269,184
4Apr 24, 2025 18:356,06040,989,02818,372,0001,020,0002,260,992
5Apr 24, 2025 18:356,06338,587,47015,317,0004,084,0002,273,280
6Apr 24, 2025 18:356,06348,349,17816,340,0003,063,0002,265,088
7Apr 24, 2025 18:356,16145,236,28417,640,0002,075,0002,256,896
8Apr 24, 2025 18:356,75442,951,45319,554,0002,058,0002,265,088
9Apr 24, 2025 18:356,87344,502,20418,996,0002,999,0002,273,280