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, 2021 23:16Egor SergeevEgor SergeevScore: 5,165Success
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, 2021 23:165,11338,160,92914,438,0001,925,0002,277,376
2Jun 30, 2021 23:165,11931,041,98016,382,00002,498,560
3Jun 30, 2021 23:165,13139,281,66716,418,00002,498,560
4Jun 30, 2021 23:165,14138,471,68716,451,00002,502,656
5Jun 30, 2021 23:165,15639,051,79916,499,00002,498,560
6Jun 30, 2021 23:165,16034,820,12516,511,00002,277,376
7Jun 30, 2021 23:165,16543,343,43916,529,00002,277,376
8Jun 30, 2021 23:165,17236,319,59316,550,00002,498,560
9Jun 30, 2021 23:165,20343,146,38916,651,00002,498,560
10Jun 30, 2021 23:165,39686,682,36717,268,79002,260,992
11Jun 30, 2021 23:165,39866,971,81617,272,22902,236,416
12Jun 30, 2021 23:165,40491,188,44417,293,71102,240,512