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 listJul 20, 2023 22:23gchebanovgchebanovScore: 5,413Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 20, 2023 22:235,37645,016,50416,191,0001,011,0002,387,968
2Jul 20, 2023 22:235,38738,241,77016,224,0001,014,0002,396,160
3Jul 20, 2023 22:235,40142,885,79317,282,00002,265,088
4Jul 20, 2023 22:235,40246,785,16016,270,0001,016,0002,527,232
5Jul 20, 2023 22:235,40842,228,48015,269,0002,035,0002,392,064
6Jul 20, 2023 22:235,41238,492,59416,301,0001,018,0002,387,968
7Jul 20, 2023 22:235,41332,993,32415,283,0002,037,0002,265,088
8Jul 20, 2023 22:235,41340,829,61616,304,0001,019,0002,383,872
9Jul 20, 2023 22:235,43450,897,81316,367,0001,022,0002,265,088
10Jul 20, 2023 22:235,59262,345,58317,895,83102,281,472
11Jul 20, 2023 22:235,60583,930,42517,934,40502,273,280
12Jul 20, 2023 22:235,62278,526,64317,990,66302,273,280