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 27, 2021 10:08Ilya AniskovetsIlya AniskovetsScore: 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 27, 2021 10:085,33341,416,79016,062,0001,003,0002,383,872
2Oct 27, 2021 10:085,33733,800,80115,069,0002,009,0002,265,088
3Oct 27, 2021 10:085,33846,455,03116,079,0001,004,0002,527,232
4Oct 27, 2021 10:085,34748,540,04616,104,0001,006,0002,396,160
5Oct 27, 2021 10:085,36034,226,47115,134,0002,017,0002,387,968
6Oct 27, 2021 10:085,36941,133,80816,172,0001,010,0002,379,776
7Oct 27, 2021 10:085,37534,095,84516,189,0001,011,0002,265,088
8Oct 27, 2021 10:085,39548,148,30416,249,0001,015,0002,265,088
9Oct 27, 2021 10:085,40245,244,45916,270,0001,016,0002,256,896
10Oct 27, 2021 10:085,55689,881,61517,778,05102,281,472
11Oct 27, 2021 10:085,56372,758,58917,802,28702,277,376
12Oct 27, 2021 10:085,59875,960,56117,914,11502,273,280