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 30, 2024 17:31AnSaAnSaScore: 4,916Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 30, 2024 17:314,86332,714,04813,488,0002,075,0002,531,328
2Jun 30, 2024 17:314,86631,541,19614,532,0001,038,0002,531,328
3Jun 30, 2024 17:314,87731,397,19715,605,00002,498,560
4Jun 30, 2024 17:314,88039,273,06415,617,00002,269,184
5Jun 30, 2024 17:314,89640,694,35515,668,00002,269,184
6Jun 30, 2024 17:314,90541,739,21215,696,00002,498,560
7Jun 30, 2024 17:314,91639,756,83815,730,00002,269,184
8Jun 30, 2024 17:314,96430,094,33815,885,00002,502,656
9Jun 30, 2024 17:314,96832,795,18714,904,000993,0002,269,184
10Jun 30, 2024 17:315,17177,643,34816,548,40402,248,704
11Jun 30, 2024 17:315,20780,145,86216,663,70802,248,704
12Jun 30, 2024 17:315,27379,474,17916,873,06702,375,680