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 19:45Yuriy LyfenkoYuriy LyfenkoScore: 6,317Success
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 19:456,2682,967,599,26020,058,32702,285,568
2May 19, 2021 19:456,2853,832,141,00520,111,36702,289,664
3May 19, 2021 19:456,287871,266,23720,117,05602,285,568
4May 19, 2021 19:456,2924,077,179,88020,134,70802,293,760
5May 19, 2021 19:456,304245,054,39620,173,83602,285,568
6May 19, 2021 19:456,3111,301,509,95720,194,39102,293,760
7May 19, 2021 19:456,3171,567,515,32020,215,79502,285,568
8May 19, 2021 19:456,3263,662,925,60020,243,61602,281,472
9May 19, 2021 19:456,3262,880,733,26020,243,62102,285,568
10May 19, 2021 19:456,3273,679,335,65820,247,64102,289,664
11May 19, 2021 19:456,3402,728,441,25620,287,61002,285,568
12May 19, 2021 19:456,3603,900,920,60420,351,72202,289,664