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 6, 2023 09:00Pavel ZagrebinPavel ZagrebinScore: 5,320Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 6, 2023 09:005,28640,671,99415,921,000995,0002,383,872
2Oct 6, 2023 09:005,28633,238,95815,921,000995,0002,527,232
3Oct 6, 2023 09:005,30033,543,05215,963,000997,0002,265,088
4Oct 6, 2023 09:005,30042,485,54014,965,0001,995,0002,265,088
5Oct 6, 2023 09:005,30345,619,26915,970,000998,0002,265,088
6Oct 6, 2023 09:005,31933,083,69915,018,0002,002,0002,265,088
7Oct 6, 2023 09:005,32046,615,10215,022,0002,002,0002,392,064
8Oct 6, 2023 09:005,32541,946,32416,037,0001,002,0002,265,088
9Oct 6, 2023 09:005,34945,187,86015,103,0002,013,0002,379,776
10Oct 6, 2023 09:005,51493,435,85817,644,59202,281,472
11Oct 6, 2023 09:005,52792,582,14117,686,68402,285,568
12Oct 6, 2023 09:005,52964,405,86517,693,03002,289,664