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 listJul 30, 2024 11:30BenBenScore: 5,282Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 30, 2024 11:305,26935,086,37014,879,0001,983,0002,265,088
2Jul 30, 2024 11:305,27043,179,40915,872,000992,0002,371,584
3Jul 30, 2024 11:305,27030,331,22415,873,000992,0002,367,488
4Jul 30, 2024 11:305,27442,275,69815,886,000992,0002,502,656
5Jul 30, 2024 11:305,27647,235,81614,897,0001,986,0002,371,584
6Jul 30, 2024 11:305,28143,311,13614,912,0001,988,0002,367,488
7Jul 30, 2024 11:305,28237,257,49415,907,000994,0002,371,584
8Jul 30, 2024 11:305,29040,406,66515,933,000995,0002,265,088
9Jul 30, 2024 11:305,29245,370,08715,938,000996,0002,371,584
10Jul 30, 2024 11:305,52780,223,93117,686,97302,269,184
11Jul 30, 2024 11:305,56375,825,47317,802,86302,281,472
12Jul 30, 2024 11:305,60072,880,98317,920,73202,260,992