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 listJan 20, 2024 09:04matsuoka-601matsuoka-601Score: 4,834Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 20, 2024 09:044,80732,135,03115,383,00002,289,664
2Jan 20, 2024 09:044,81532,760,58514,382,0001,027,0002,289,664
3Jan 20, 2024 09:044,82031,854,07514,395,0001,028,0002,289,664
4Jan 20, 2024 09:044,82337,288,95714,405,0001,028,0002,289,664
5Jan 20, 2024 09:044,82537,311,80315,441,00002,269,184
6Jan 20, 2024 09:044,82841,417,51114,420,0001,030,0002,293,760
7Jan 20, 2024 09:044,83435,032,83615,470,00002,289,664
8Jan 20, 2024 09:044,83941,212,54514,452,0001,032,0002,289,664
9Jan 20, 2024 09:044,85034,538,65514,486,0001,034,0002,289,664
10Jan 20, 2024 09:045,03584,901,00416,111,24402,252,800
11Jan 20, 2024 09:045,07670,093,87516,243,04402,174,976
12Jan 20, 2024 09:045,07882,028,56616,248,70002,301,952