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

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 27, 2021 01:155,11839,026,21316,376,00002,277,376
2May 27, 2021 01:155,12332,227,51916,392,00002,498,560
3May 27, 2021 01:155,13135,352,06116,419,00002,490,368
4May 27, 2021 01:155,13241,129,58616,422,00002,502,656
5May 27, 2021 01:155,13839,180,28916,441,00002,490,368
6May 27, 2021 01:155,14734,084,90116,469,00002,277,376
7May 27, 2021 01:155,15132,257,71716,482,00002,502,656
8May 27, 2021 01:155,16235,375,00416,519,00002,277,376
9May 27, 2021 01:155,16734,134,21016,533,00002,277,376
10May 27, 2021 01:155,38371,684,45717,226,04502,240,512
11May 27, 2021 01:155,39847,986,20917,273,34602,256,896
12May 27, 2021 01:155,46270,614,08117,478,63802,240,512