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 06:59Pavel ZagrebinPavel ZagrebinScore: 5,375Success
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 06:595,30640,470,72614,981,0001,997,0002,392,064
2Oct 6, 2023 06:595,33044,243,67715,049,0002,006,0002,392,064
3Oct 6, 2023 06:595,33735,579,34315,068,0002,009,0002,265,088
4Oct 6, 2023 06:595,34441,749,76516,095,0001,005,0002,265,088
5Oct 6, 2023 06:595,35047,117,25416,114,0001,007,0002,265,088
6Oct 6, 2023 06:595,36047,553,84916,144,0001,009,0002,527,232
7Oct 6, 2023 06:595,37538,932,59716,189,0001,011,0002,265,088
8Oct 6, 2023 06:595,39445,086,28115,231,0002,030,0002,265,088
9Oct 6, 2023 06:595,39643,896,30116,253,0001,015,0002,265,088
10Oct 6, 2023 06:595,56985,416,73117,822,13402,285,568
11Oct 6, 2023 06:595,57189,630,96817,826,82202,285,568
12Oct 6, 2023 06:595,59279,937,63417,893,22102,277,376