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:37gchebanovgchebanovScore: 5,224Success
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:375,19332,340,55415,579,0001,038,0002,510,848
2Jul 20, 2023 22:375,19845,307,36515,594,0001,039,0002,396,160
3Jul 20, 2023 22:375,20442,988,20216,653,00002,383,872
4Jul 20, 2023 22:375,21236,926,59816,679,00002,383,872
5Jul 20, 2023 22:375,22041,895,61315,661,0001,044,0002,383,872
6Jul 20, 2023 22:375,22344,065,14016,712,00002,387,968
7Jul 20, 2023 22:375,22433,869,16816,716,00002,265,088
8Jul 20, 2023 22:375,26843,860,50114,874,0001,983,0002,252,800
9Jul 20, 2023 22:375,27346,724,64714,889,0001,985,0002,387,968
10Jul 20, 2023 22:375,46286,411,58417,476,91202,244,608
11Jul 20, 2023 22:375,47487,481,90917,516,13202,281,472
12Jul 20, 2023 22:375,49566,688,49717,583,16902,289,664