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:45alex3dalex3dScore: 4,759Success
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:454,73230,066,76913,124,0002,019,0002,441,216
2May 13, 2021 19:454,73636,617,87813,134,0002,020,0002,441,216
3May 13, 2021 19:454,73937,823,29013,144,0002,022,0002,441,216
4May 13, 2021 19:454,74638,232,97613,162,0002,025,0002,449,408
5May 13, 2021 19:454,75637,657,64214,206,0001,014,0002,273,280
6May 13, 2021 19:454,75836,046,32613,197,0002,030,0002,445,312
7May 13, 2021 19:454,75930,626,88413,200,0002,030,0002,535,424
8May 13, 2021 19:454,76835,168,55513,224,0002,034,0002,449,408
9May 13, 2021 19:454,77133,166,16214,250,0001,017,0002,535,424
10May 13, 2021 19:455,00575,584,49616,015,92402,203,648
11May 13, 2021 19:455,04161,363,29616,132,09402,191,360
12May 13, 2021 19:455,04665,468,67516,148,74502,203,648