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 listJun 2, 2021 13:50Yuriy LyfenkoYuriy LyfenkoScore: 5,189Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 2, 2021 13:505,13642,356,61514,382,0002,054,0002,273,280
2Jun 2, 2021 13:505,14439,215,14415,433,0001,028,0002,273,280
3Jun 2, 2021 13:505,16134,854,18215,484,0001,032,0002,273,280
4Jun 2, 2021 13:505,16338,530,72414,456,0002,065,0002,408,448
5Jun 2, 2021 13:505,17133,174,09815,514,0001,034,0002,519,040
6Jun 2, 2021 13:505,17734,009,40515,530,0001,035,0002,408,448
7Jun 2, 2021 13:505,18944,403,08015,567,0001,037,0002,404,352
8Jun 2, 2021 13:505,19835,308,99914,555,0002,079,0002,273,280
9Jun 2, 2021 13:505,20446,257,78115,613,0001,040,0002,273,280
10Jun 2, 2021 13:505,33880,560,35217,082,16302,281,472
11Jun 2, 2021 13:505,340108,767,18617,087,99202,285,568
12Jun 2, 2021 13:505,37986,202,67717,214,04002,285,568