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 19, 2021 23:31alex3dalex3dScore: 5,043Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 19, 2021 23:315,01830,909,87314,050,0002,007,0002,535,424
2May 19, 2021 23:315,01836,845,16714,052,0002,007,0002,535,424
3May 19, 2021 23:315,02336,462,01014,065,0002,009,0002,535,424
4May 19, 2021 23:315,02537,713,17814,071,0002,010,0002,441,216
5May 19, 2021 23:315,02643,403,60914,074,0002,010,0002,273,280
6May 19, 2021 23:315,03245,304,65014,090,0002,012,0002,445,312
7May 19, 2021 23:315,04038,743,21715,120,0001,008,0002,441,216
8May 19, 2021 23:315,04337,586,12215,130,0001,008,0002,449,408
9May 19, 2021 23:315,05539,395,18914,154,0002,022,0002,273,280
10May 19, 2021 23:315,29382,361,02216,937,86002,203,648
11May 19, 2021 23:315,29976,229,40116,957,52002,195,456
12May 19, 2021 23:315,29967,495,02616,957,62502,203,648
13May 19, 2021 23:315,32074,932,97417,024,34202,199,552
14May 19, 2021 23:315,38089,463,76117,215,94402,199,552
15May 19, 2021 23:315,40576,960,70017,297,17002,187,264