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 30, 2025 06:57Zhao Wei LiewZhao Wei LiewScore: 45,834Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 30, 2025 06:5745,808175,382,970146,585,00002,408,448
2Apr 30, 2025 06:5745,810172,846,715146,591,00002,273,280
3Apr 30, 2025 06:5745,821176,315,724146,628,00002,260,992
4Apr 30, 2025 06:5745,823172,618,369145,629,0001,004,0002,285,568
5Apr 30, 2025 06:5745,834174,329,350145,666,0001,004,0002,285,568
6Apr 30, 2025 06:5745,871170,477,718146,786,00002,269,184
7Apr 30, 2025 06:5745,872170,724,219144,792,0001,997,0002,383,872
8Apr 30, 2025 06:5745,877170,128,654145,809,000998,0002,269,184
9Apr 30, 2025 06:5745,884173,865,359145,830,000998,0002,285,568