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:33Yuriy LyfenkoYuriy LyfenkoScore: 5,792Success
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:335,739545,483,65116,325,0002,040,0002,334,720
2Dec 22, 2021 04:335,745548,900,74717,364,0001,021,0002,334,720
3Dec 22, 2021 04:335,754547,120,75614,537,0003,876,0002,330,624
4Dec 22, 2021 04:335,754545,228,65415,506,0002,907,0002,338,816
5Dec 22, 2021 04:335,756541,748,77016,373,0002,046,0002,338,816
6Dec 22, 2021 04:335,787547,313,23816,462,0002,057,0002,334,720
7Dec 22, 2021 04:335,792549,282,93616,475,0002,059,0002,338,816
8Dec 22, 2021 04:335,802622,066,96318,567,43102,301,952
9Dec 22, 2021 04:335,803543,872,91916,505,0002,063,0002,334,720
10Dec 22, 2021 04:335,817580,619,34418,614,02802,293,760
11Dec 22, 2021 04:335,849589,024,85318,718,16902,252,800
12Dec 22, 2021 04:335,877540,711,63716,717,0002,089,0002,334,720