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:32gchebanovgchebanovScore: 5,203Success
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:325,16536,400,27615,496,0001,033,0002,265,088
2Jul 20, 2023 22:325,16541,696,00915,496,0001,033,0002,265,088
3Jul 20, 2023 22:325,17237,757,09215,515,0001,034,0002,392,064
4Jul 20, 2023 22:325,18339,174,10115,550,0001,036,0002,265,088
5Jul 20, 2023 22:325,18438,193,06316,589,00002,400,256
6Jul 20, 2023 22:325,19732,630,82316,631,00002,392,064
7Jul 20, 2023 22:325,20336,889,59416,648,00002,379,776
8Jul 20, 2023 22:325,21446,565,50016,685,00002,265,088
9Jul 20, 2023 22:325,26040,811,70214,853,0001,980,0002,383,872
10Jul 20, 2023 22:325,373103,500,19217,192,33102,285,568
11Jul 20, 2023 22:325,41082,135,16817,310,94902,281,472
12Jul 20, 2023 22:325,46974,143,90817,501,40202,281,472