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 13, 2021 11:03Dmitry DolgopolovDmitry DolgopolovScore: 5,208Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 13, 2021 11:035,18536,403,70815,556,0001,037,0002,269,184
2Jun 13, 2021 11:035,19032,003,31715,570,0001,038,0002,453,504
3Jun 13, 2021 11:035,19846,557,63315,595,0001,039,0002,457,600
4Jun 13, 2021 11:035,20345,460,55516,650,00002,269,184
5Jun 13, 2021 11:035,20533,881,11615,615,0001,041,0002,531,328
6Jun 13, 2021 11:035,20738,685,09815,620,0001,041,0002,531,328
7Jun 13, 2021 11:035,20833,777,89715,624,0001,041,0002,531,328
8Jun 13, 2021 11:035,21543,044,75615,646,0001,043,0002,531,328
9Jun 13, 2021 11:035,27342,796,16714,889,0001,985,0002,531,328
10Jun 13, 2021 11:035,42880,522,15717,369,45702,211,840
11Jun 13, 2021 11:035,43577,755,86517,391,69002,199,552
12Jun 13, 2021 11:035,45572,580,80217,455,97202,207,744