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 28, 2021 15:15Egor SergeevEgor SergeevScore: 5,179Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 28, 2021 15:155,15429,893,34916,494,00002,498,560
2May 28, 2021 15:155,15840,239,34816,507,00002,277,376
3May 28, 2021 15:155,16037,329,44216,511,00002,277,376
4May 28, 2021 15:155,16240,392,62016,517,00002,498,560
5May 28, 2021 15:155,16540,294,29816,527,00002,490,368
6May 28, 2021 15:155,17736,246,58516,565,00002,498,560
7May 28, 2021 15:155,17934,554,54616,572,00002,502,656
8May 28, 2021 15:155,18948,535,71316,606,00002,494,464
9May 28, 2021 15:155,23439,572,72815,763,000985,0002,277,376
10May 28, 2021 15:155,41360,041,00417,321,22802,248,704
11May 28, 2021 15:155,44051,746,09317,408,43902,240,512
12May 28, 2021 15:155,53677,951,40417,715,55702,240,512