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:02Pavel ZagrebinPavel ZagrebinScore: 5,298Success
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:025,27339,458,84015,880,000992,0002,383,872
2Oct 7, 2023 17:025,27343,030,52714,887,0001,985,0002,383,872
3Oct 7, 2023 17:025,27331,189,23015,882,000992,0002,379,776
4Oct 7, 2023 17:025,27847,112,32515,896,000993,0002,383,872
5Oct 7, 2023 17:025,27845,640,50215,897,000993,0002,265,088
6Oct 7, 2023 17:025,29444,045,66714,947,0001,993,0002,265,088
7Oct 7, 2023 17:025,29846,264,15514,958,0001,994,0002,387,968
8Oct 7, 2023 17:025,30741,204,07315,983,000998,0002,383,872
9Oct 7, 2023 17:025,31539,964,19716,007,0001,000,0002,498,560
10Oct 7, 2023 17:025,51065,954,35717,632,98502,252,800
11Oct 7, 2023 17:025,52192,771,82517,665,64202,265,088
12Oct 7, 2023 17:025,55978,453,55917,787,30202,273,280