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 listMay 30, 2021 01:27Egor SergeevEgor SergeevScore: 5,344Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 30, 2021 01:275,31140,260,93815,995,000999,0002,502,656
2May 30, 2021 01:275,31532,338,05216,009,0001,000,0002,502,656
3May 30, 2021 01:275,31934,730,83816,021,0001,001,0002,277,376
4May 30, 2021 01:275,32438,918,36716,035,0001,002,0002,277,376
5May 30, 2021 01:275,33537,978,42716,069,0001,004,0002,277,376
6May 30, 2021 01:275,34036,524,51516,082,0001,005,0002,490,368
7May 30, 2021 01:275,34431,526,86816,096,0001,006,0002,498,560
8May 30, 2021 01:275,35134,115,97316,116,0001,007,0002,498,560
9May 30, 2021 01:275,36541,212,54216,158,0001,009,0002,277,376
10May 30, 2021 01:275,55577,630,56417,774,72802,236,416
11May 30, 2021 01:275,56063,263,65717,792,25702,248,704
12May 30, 2021 01:275,57047,549,54817,822,42302,232,320