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 listDec 22, 2021 04:35Yuriy LyfenkoYuriy LyfenkoScore: 5,717Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 22, 2021 04:355,641546,273,71516,047,0002,005,0002,334,720
2Dec 22, 2021 04:355,661541,167,27317,050,0001,065,0002,338,816
3Dec 22, 2021 04:355,663544,812,43116,107,0002,013,0002,334,720
4Dec 22, 2021 04:355,664548,078,91418,124,00002,334,720
5Dec 22, 2021 04:355,681548,727,37517,109,0001,069,0002,334,720
6Dec 22, 2021 04:355,699576,512,66318,236,43902,252,800
7Dec 22, 2021 04:355,717581,740,81918,293,13202,252,800
8Dec 22, 2021 04:355,720545,447,78717,288,0001,016,0002,330,624
9Dec 22, 2021 04:355,723548,632,19117,297,0001,017,0002,334,720
10Dec 22, 2021 04:355,735550,095,29417,333,0001,019,0002,334,720
11Dec 22, 2021 04:355,736544,217,73317,337,0001,019,0002,334,720
12Dec 22, 2021 04:355,757587,313,06518,421,58102,256,896