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 listJun 27, 2021 22:50gchebanovgchebanovScore: 5,382Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 27, 2021 22:505,32541,339,91215,036,0002,004,0002,265,088
2Jun 27, 2021 22:505,33741,411,23915,070,0002,009,0002,392,064
3Jun 27, 2021 22:505,34844,566,68616,109,0001,006,0002,387,968
4Jun 27, 2021 22:505,34944,452,79416,110,0001,006,0002,383,872
5Jun 27, 2021 22:505,35145,863,95316,117,0001,007,0002,265,088
6Jun 27, 2021 22:505,36043,566,87715,135,0002,018,0002,392,064
7Jun 27, 2021 22:505,38245,051,25515,195,0002,026,0002,486,272
8Jun 27, 2021 22:505,39545,274,80315,234,0002,031,0002,400,256
9Jun 27, 2021 22:505,41644,303,48316,313,0001,019,0002,396,160
10Jun 27, 2021 22:505,53983,884,60917,723,40302,285,568
11Jun 27, 2021 22:505,54478,654,37117,740,35802,281,472
12Jun 27, 2021 22:505,56970,911,83417,822,31402,289,664