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 8, 2023 10:00Andrew MoonAndrew MoonScore: 5,341Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 8, 2023 10:005,30943,127,51814,991,0001,998,0002,371,584
2Jul 8, 2023 10:005,31233,721,90414,999,0001,999,0002,392,064
3Jul 8, 2023 10:005,31941,462,45815,019,0002,002,0002,265,088
4Jul 8, 2023 10:005,33045,287,33116,054,0001,003,0002,265,088
5Jul 8, 2023 10:005,33152,257,26316,057,0001,003,0002,265,088
6Jul 8, 2023 10:005,33438,477,52916,065,0001,004,0002,265,088
7Jul 8, 2023 10:005,34147,803,37115,081,0002,010,0002,392,064
8Jul 8, 2023 10:005,34837,530,74216,106,0001,006,0002,265,088
9Jul 8, 2023 10:005,39236,205,49415,224,0002,029,0002,527,232
10Jul 8, 2023 10:005,53462,636,44717,708,96502,244,608
11Jul 8, 2023 10:005,54565,490,41017,742,84702,289,664
12Jul 8, 2023 10:005,57291,232,06517,830,54902,269,184