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 19:09Yuriy LyfenkoYuriy LyfenkoScore: 5,179Success
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 19:095,1481,037,985,24615,444,0001,029,0002,273,280
2Jun 2, 2021 19:095,1521,040,515,92615,457,0001,030,0002,273,280
3Jun 2, 2021 19:095,1571,044,338,97016,502,00002,408,448
4Jun 2, 2021 19:095,1651,042,976,47416,528,00002,273,280
5Jun 2, 2021 19:095,1661,041,224,31214,465,0002,066,0002,269,184
6Jun 2, 2021 19:095,1711,041,267,97015,513,0001,034,0002,273,280
7Jun 2, 2021 19:095,1791,043,478,63615,538,0001,035,0002,273,280
8Jun 2, 2021 19:095,2061,047,008,89015,679,000979,0002,273,280
9Jun 2, 2021 19:095,2371,044,412,83915,774,000985,0002,273,280
10Jun 2, 2021 19:095,2971,075,676,88516,950,74302,289,664
11Jun 2, 2021 19:095,3001,079,974,11216,960,75402,285,568
12Jun 2, 2021 19:095,3381,081,161,55617,080,64002,293,760