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 16, 2021 21:53Andrey TsvetkovAndrey TsvetkovScore: 5,704Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 16, 2021 21:535,65534,454,85715,081,0003,016,0002,510,848
2Jun 16, 2021 21:535,68043,257,81415,148,0003,029,0002,334,720
3Jun 16, 2021 21:535,68437,516,25814,147,0004,042,0002,535,424
4Jun 16, 2021 21:535,70142,700,54915,202,0003,040,0002,318,336
5Jun 16, 2021 21:535,70243,617,45616,219,0002,027,0002,330,624
6Jun 16, 2021 21:535,70433,654,17915,210,0003,042,0002,523,136
7Jun 16, 2021 21:535,70443,216,01615,212,0003,042,0002,523,136
8Jun 16, 2021 21:535,70539,149,80715,213,0003,042,0002,334,720
9Jun 16, 2021 21:535,71841,156,40915,247,0003,049,0002,531,328
10Jun 16, 2021 21:535,72397,146,89818,312,08802,240,512
11Jun 16, 2021 21:535,73790,069,87218,358,70902,240,512
12Jun 16, 2021 21:535,77587,713,33318,481,05302,244,608