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 25, 2021 00:30Alexander KimAlexander KimScore: 5,820Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 25, 2021 00:305,77939,167,00218,494,00002,334,720
2Dec 25, 2021 00:305,79337,343,98518,536,00002,334,720
3Dec 25, 2021 00:305,80137,582,93417,533,0001,031,0002,334,720
4Dec 25, 2021 00:305,80538,054,82518,576,00002,334,720
5Dec 25, 2021 00:305,80739,780,65317,549,0001,032,0002,301,952
6Dec 25, 2021 00:305,81835,762,53517,583,0001,034,0002,334,720
7Dec 25, 2021 00:305,82043,344,83316,554,0002,069,0002,301,952
8Dec 25, 2021 00:305,82241,767,88217,595,0001,035,0002,334,720
9Dec 25, 2021 00:305,84464,770,82018,700,26902,277,376
10Dec 25, 2021 00:305,85644,142,56917,699,0001,041,0002,334,720
11Dec 25, 2021 00:305,86592,873,06218,768,22602,273,280
12Dec 25, 2021 00:305,87972,985,94918,811,22502,265,088