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 17, 2021 03:34Yuriy LyfenkoYuriy LyfenkoScore: 5,422Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2021 03:345,3991,238,210,61417,278,00002,392,064
2May 17, 2021 03:345,4003,420,418,61317,279,00002,527,232
3May 17, 2021 03:345,4114,979,429,01917,315,00002,273,280
4May 17, 2021 03:345,4134,401,794,16516,303,0001,018,0002,265,088
5May 17, 2021 03:345,4134,253,754,97316,304,0001,019,0002,523,136
6May 17, 2021 03:345,422561,575,60716,386,000963,0002,269,184
7May 17, 2021 03:345,4221,221,637,74216,330,0001,020,0002,265,088
8May 17, 2021 03:345,43451,408,79517,390,00002,269,184
9May 17, 2021 03:345,4371,529,875,06314,327,0003,070,0002,523,136
10May 17, 2021 03:345,5861,540,279,90517,874,65502,281,472
11May 17, 2021 03:345,6014,237,899,16417,923,25402,277,376
12May 17, 2021 03:345,6704,096,178,35018,143,66002,281,472