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 listJun 9, 2024 20:28джулисджулисScore: 5,332Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 9, 2024 19:565,29133,493,50014,940,0001,992,0002,293,760
2Jun 9, 2024 19:565,29341,479,46314,945,0001,992,0002,375,680
3Jun 9, 2024 20:285,29542,105,01914,952,0001,993,0002,371,584
4Jun 9, 2024 19:565,29943,054,72515,961,000997,0002,375,680
5Jun 9, 2024 20:285,30442,449,52515,974,000998,0002,371,584
6Jun 9, 2024 19:565,30643,550,80315,980,000998,0002,289,664
7Jun 9, 2024 20:285,30944,702,18415,991,000999,0002,371,584
8Jun 9, 2024 19:565,31341,554,77215,003,0002,000,0002,371,584
9Jun 9, 2024 20:285,31344,800,52715,000,0002,000,0002,375,680
10Jun 9, 2024 20:285,31943,438,85415,019,0002,002,0002,293,760
11Jun 9, 2024 19:565,32235,564,08116,028,0001,001,0002,379,776
12Jun 9, 2024 19:565,32950,749,58716,051,0001,003,0002,371,584
13Jun 9, 2024 20:285,33239,599,27815,056,0002,007,0002,293,760
14Jun 9, 2024 20:285,33444,866,90216,065,0001,004,0002,293,760
15Jun 9, 2024 20:285,33539,043,24415,064,0002,008,0002,289,664
16Jun 9, 2024 19:565,34045,606,93016,082,0001,005,0002,478,080
17Jun 9, 2024 19:565,34347,899,66715,087,0002,011,0002,375,680
18Jun 9, 2024 20:285,34341,873,63816,093,0001,005,0002,293,760
19Jun 9, 2024 20:285,53569,012,52217,711,45902,248,704
20Jun 9, 2024 20:285,53662,886,14717,716,13202,260,992
21Jun 9, 2024 19:565,56565,962,43617,809,14202,248,704
22Jun 9, 2024 19:565,58083,403,45617,855,34302,260,992
23Jun 9, 2024 19:565,70481,110,59418,254,19302,252,800
24Jun 9, 2024 20:285,71980,968,43418,299,75102,252,800