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 7, 2021 00:29evgenikwtevgenikwtScore: 5,354Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 7, 2021 00:295,33841,942,67015,072,0002,009,0002,334,720
2Jun 7, 2021 00:295,33833,405,12116,078,0001,004,0002,355,200
3Jun 7, 2021 00:295,34340,160,23615,085,0002,011,0002,314,240
4Jun 7, 2021 00:295,34343,011,07716,092,0001,005,0002,318,336
5Jun 7, 2021 00:295,34545,323,63115,092,0002,012,0002,347,008
6Jun 7, 2021 00:295,35144,189,16516,117,0001,007,0002,334,720
7Jun 7, 2021 00:295,35442,589,15516,127,0001,007,0002,314,240
8Jun 7, 2021 00:295,37044,719,91014,152,0003,032,0002,351,104
9Jun 7, 2021 00:295,38239,401,15515,196,0002,026,0002,314,240
10Jun 7, 2021 00:295,85178,077,84118,723,88102,240,512
11Jun 7, 2021 00:295,86295,956,55918,757,88002,236,416
12Jun 7, 2021 00:295,87184,914,78618,787,41102,236,416