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 13, 2021 19:40alex3dalex3dScore: 5,191Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 13, 2021 19:405,16333,378,37615,488,0001,032,0002,535,424
2May 13, 2021 19:405,17633,156,11715,528,0001,035,0002,445,312
3May 13, 2021 19:405,17631,762,04515,528,0001,035,0002,445,312
4May 13, 2021 19:405,17939,115,64115,538,0001,035,0002,535,424
5May 13, 2021 19:405,18943,314,25715,568,0001,037,0002,441,216
6May 13, 2021 19:405,19135,604,73215,573,0001,038,0002,535,424
7May 13, 2021 19:405,19141,950,84715,574,0001,038,0002,535,424
8May 13, 2021 19:405,19245,662,37615,577,0001,038,0002,535,424
9May 13, 2021 19:405,19742,187,97615,591,0001,039,0002,449,408
10May 13, 2021 19:405,41491,880,63717,324,74202,191,360
11May 13, 2021 19:405,42863,591,53017,370,50602,203,648
12May 13, 2021 19:405,47772,265,80317,525,74402,203,648