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 listOct 7, 2023 17:00Pavel ZagrebinPavel ZagrebinScore: 5,293Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 7, 2023 17:005,27448,966,81115,884,000992,0002,375,680
2Oct 7, 2023 17:005,27446,349,66314,893,0001,985,0002,375,680
3Oct 7, 2023 17:005,27530,764,77614,895,0001,986,0002,265,088
4Oct 7, 2023 17:005,27650,808,86314,896,0001,986,0002,379,776
5Oct 7, 2023 17:005,27934,214,53914,907,0001,987,0002,375,680
6Oct 7, 2023 17:005,28445,745,98914,920,0001,989,0002,260,992
7Oct 7, 2023 17:005,29342,649,87614,944,0001,992,0002,265,088
8Oct 7, 2023 17:005,30042,334,86115,962,000997,0002,379,776
9Oct 7, 2023 17:005,31636,456,67816,010,0001,000,0002,383,872
10Oct 7, 2023 17:005,49563,325,79517,582,54502,265,088
11Oct 7, 2023 17:005,52279,082,61717,670,80802,269,184
12Oct 7, 2023 17:005,52986,511,35517,692,48602,265,088