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 listDec 29, 2025 20:30Mark R BestMark R BestScore: 5,532Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 29, 2025 20:305,51946,198,61416,623,0001,038,0002,285,568
2Dec 29, 2025 20:305,52543,618,48017,680,00002,379,776
3Dec 29, 2025 20:305,52541,773,72516,641,0001,040,0002,285,568
4Dec 29, 2025 20:305,53043,488,31116,656,0001,041,0002,363,392
5Dec 29, 2025 20:305,53245,817,33916,662,0001,041,0002,379,776
6Dec 29, 2025 20:305,57644,406,24016,852,000991,0002,285,568
7Dec 29, 2025 20:305,58342,258,42016,874,000992,0002,363,392
8Dec 29, 2025 20:305,58339,127,95016,874,000992,0002,285,568
9Dec 29, 2025 20:305,58644,125,17515,890,0001,986,0002,473,984