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 19:21Egor SergeevEgor SergeevScore: 5,145Success
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 19:215,11738,149,26816,375,00002,277,376
2May 27, 2021 19:215,12431,758,77816,397,00002,277,376
3May 27, 2021 19:215,12447,309,10416,397,00002,277,376
4May 27, 2021 19:215,12531,485,02716,400,00002,277,376
5May 27, 2021 19:215,13333,253,42216,424,00002,498,560
6May 27, 2021 19:215,14130,064,12516,452,00002,277,376
7May 27, 2021 19:215,14540,718,50616,463,00002,498,560
8May 27, 2021 19:215,14935,817,55616,476,00002,494,464
9May 27, 2021 19:215,16432,474,97516,524,00002,277,376
10May 27, 2021 19:215,43544,328,55917,391,03402,240,512
11May 27, 2021 19:215,45559,111,91017,456,15702,232,320
12May 27, 2021 19:215,65148,160,44918,084,58802,240,512