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 29, 2021 01:10Egor SergeevEgor SergeevScore: 5,358Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 29, 2021 01:105,29438,141,20315,944,000996,0002,502,656
2May 29, 2021 01:105,30335,366,68215,973,000998,0002,277,376
3May 29, 2021 01:105,30438,348,08515,976,000998,0002,494,464
4May 29, 2021 01:105,31340,404,40716,003,0001,000,0002,535,424
5May 29, 2021 01:105,32036,722,28916,023,0001,001,0002,277,376
6May 29, 2021 01:105,35440,226,14016,126,0001,007,0002,506,752
7May 29, 2021 01:105,35835,262,56116,136,0001,008,0002,277,376
8May 29, 2021 01:105,35844,566,75516,138,0001,008,0002,498,560
9May 29, 2021 01:105,36138,312,24115,138,0002,018,0002,502,656
10May 29, 2021 01:105,51363,194,25617,642,89802,248,704
11May 29, 2021 01:105,53060,137,62017,694,88302,236,416
12May 29, 2021 01:105,76742,954,47318,453,13702,256,896