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 26, 2021 21:59Alexander KimAlexander KimScore: 5,707Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 26, 2021 21:595,69043,145,52814,163,0004,046,0002,301,952
2Dec 26, 2021 21:595,69246,275,06917,203,0001,011,0002,334,720
3Dec 26, 2021 21:595,69645,821,07717,214,0001,012,0002,334,720
4Dec 26, 2021 21:595,69739,879,45617,218,0001,012,0002,334,720
5Dec 26, 2021 21:595,70043,284,43115,200,0003,040,0002,334,720
6Dec 26, 2021 21:595,70239,869,96116,220,0002,027,0002,342,912
7Dec 26, 2021 21:595,70745,334,28116,232,0002,029,0002,301,952
8Dec 26, 2021 21:595,72241,545,43215,259,0003,051,0002,306,048
9Dec 26, 2021 21:595,72381,557,76318,313,87602,281,472
10Dec 26, 2021 21:595,74658,596,59418,386,48502,281,472
11Dec 26, 2021 21:595,74693,742,36818,386,48102,269,184
12Dec 26, 2021 21:595,75345,918,71516,365,0002,045,0002,404,352