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 04:21Yuriy LyfenkoYuriy LyfenkoScore: 5,456Success
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 04:215,41839,085,81916,318,0001,019,0002,387,968
2May 28, 2021 04:215,41937,509,45517,342,00002,383,872
3May 28, 2021 04:215,42043,597,24317,344,00002,265,088
4May 28, 2021 04:215,43636,380,76817,395,00002,383,872
5May 28, 2021 04:215,43837,073,00317,402,00002,396,160
6May 28, 2021 04:215,44132,161,57516,387,0001,024,0002,265,088
7May 28, 2021 04:215,45642,790,07216,433,0001,027,0002,265,088
8May 28, 2021 04:215,46544,128,83916,460,0001,028,0002,527,232
9May 28, 2021 04:215,47039,891,05117,504,00002,265,088
10May 28, 2021 04:215,62569,275,01517,999,02702,273,280
11May 28, 2021 04:215,65253,049,78418,086,15202,277,376
12May 28, 2021 04:215,66046,710,94518,112,37802,273,280