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 11, 2021 16:20Sergey StreminSergey StreminScore: 11,936Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 11, 2021 16:1911,76797,475,01337,653,58202,207,744
2May 11, 2021 16:2111,771113,858,98437,667,45802,211,840
3May 11, 2021 15:1411,80577,072,86437,776,83402,199,552
4May 11, 2021 16:1911,806102,186,15937,780,64702,199,552
5May 11, 2021 15:1411,822104,878,61037,829,75402,199,552
6May 11, 2021 16:2111,838107,679,33137,882,51902,203,648
7May 11, 2021 15:1411,853102,033,49637,930,69902,203,648
8May 11, 2021 15:1411,879113,928,51238,012,69302,195,456
9May 11, 2021 16:1911,892114,395,36038,055,77102,207,744
10May 11, 2021 16:1911,92096,432,73838,145,28902,211,840
11May 11, 2021 16:1911,93692,188,84438,193,79002,207,744
12May 11, 2021 15:1411,95298,556,67938,247,16802,203,648
13May 11, 2021 15:1411,96299,728,64938,278,64302,199,552
14May 11, 2021 15:1411,96495,592,97738,286,20902,187,264
15May 11, 2021 15:1411,98195,718,94938,340,69802,199,552
16May 11, 2021 16:1911,98995,881,16638,364,80002,199,552
17May 11, 2021 16:2011,989101,032,87638,365,01702,191,360
18May 11, 2021 15:1412,00596,434,30538,416,47602,207,744
19May 11, 2021 16:2012,03080,272,46738,497,07602,207,744
20May 11, 2021 16:2112,067115,372,63538,614,90702,203,648
21May 11, 2021 16:2012,074113,019,73138,637,56602,199,552