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, 2026 08:32Uladzislau NestsiarukUladzislau NestsiarukScore: 5,618Success
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, 2026 08:325,58342,448,48915,880,0001,985,0002,265,088
2Apr 7, 2026 08:325,58347,151,58416,875,000992,0002,265,088
3Apr 7, 2026 08:325,58649,108,29114,897,0002,979,0002,277,376
4Apr 7, 2026 08:325,59442,221,00514,918,0002,983,0002,523,136
5Apr 7, 2026 08:325,61843,223,14915,980,0001,997,0002,277,376
6Apr 7, 2026 08:325,62038,769,21714,986,0002,997,0002,265,088
7Apr 7, 2026 08:325,62135,558,53016,989,000999,0002,277,376
8Apr 7, 2026 08:325,62434,195,69015,999,0001,999,0002,273,280
9Apr 7, 2026 08:325,63545,244,74317,032,0001,001,0002,273,280