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 8, 2021 18:22evgenikwtevgenikwtScore: 5,280Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 8, 2021 18:225,26134,355,54614,855,0001,980,0002,527,232
2Jun 8, 2021 18:225,26842,912,45515,866,000991,0002,387,968
3Jun 8, 2021 18:225,27334,134,78216,874,00002,265,088
4Jun 8, 2021 18:225,27439,909,60016,877,00002,392,064
5Jun 8, 2021 18:225,27544,435,11015,888,000993,0002,379,776
6Jun 8, 2021 18:225,27742,768,41015,894,000993,0002,260,992
7Jun 8, 2021 18:225,28041,061,37115,902,000993,0002,392,064
8Jun 8, 2021 18:225,28133,583,45916,898,00002,265,088
9Jun 8, 2021 18:225,28147,757,05016,899,00002,265,088
10Jun 8, 2021 18:225,45665,258,62917,459,54802,277,376
11Jun 8, 2021 18:225,45985,082,86217,469,62802,285,568
12Jun 8, 2021 18:225,47961,477,22417,532,66702,281,472