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 16, 2025 13:40Christian BernardChristian BernardScore: 26,288Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 16, 2025 13:4026,262109,558,83382,039,0002,000,0002,469,888
2Apr 16, 2025 13:4026,265116,356,15583,048,0001,000,0002,506,752
3Apr 16, 2025 13:4026,266112,663,50383,052,0001,000,0002,379,776
4Apr 16, 2025 13:4026,283109,694,06782,102,0002,002,0002,383,872
5Apr 16, 2025 13:4026,288105,169,71982,121,0002,002,0002,400,256
6Apr 16, 2025 13:4026,290112,350,92382,126,0002,003,0002,387,968
7Apr 16, 2025 13:4026,303113,687,44882,166,0002,004,0002,523,136
8Apr 16, 2025 13:4026,311108,803,37383,194,0001,002,0002,523,136
9Apr 16, 2025 13:4026,313110,446,41982,198,0002,004,0002,523,136