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 29, 2021 16:01Dmitry DolgopolovDmitry DolgopolovScore: 5,518Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 29, 2021 16:015,46035,447,92016,446,0001,027,0002,273,280
2May 29, 2021 16:015,47038,680,47716,476,0001,029,0002,535,424
3May 29, 2021 16:015,47444,051,84816,488,0001,030,0002,441,216
4May 29, 2021 16:015,47539,051,60416,491,0001,030,0002,445,312
5May 29, 2021 16:015,48130,496,78416,508,0001,031,0002,535,424
6May 29, 2021 16:015,48332,967,88816,513,0001,032,0002,441,216
7May 29, 2021 16:015,51840,305,28916,618,0001,038,0002,535,424
8May 29, 2021 16:015,51942,556,27116,622,0001,038,0002,535,424
9May 29, 2021 16:015,52047,986,37316,624,0001,039,0002,535,424
10May 29, 2021 16:015,66984,817,13518,140,61902,203,648
11May 29, 2021 16:015,68374,590,27118,185,76702,203,648
12May 29, 2021 16:015,71097,835,41718,272,09502,195,456