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 listMay 15, 2021 08:17alex3dalex3dScore: 5,483Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 15, 2021 08:175,4226,797,252,25116,331,0001,020,0002,523,136
2May 15, 2021 08:175,4428,374,146,44516,389,0001,024,0002,514,944
3May 15, 2021 08:175,4454,024,660,43514,349,0003,074,0002,523,136
4May 15, 2021 08:175,4501,877,068,56717,440,00002,523,136
5May 15, 2021 08:175,4577,883,455,38117,462,00002,527,232
6May 15, 2021 08:175,4591,895,636,58217,468,00002,449,408
7May 15, 2021 08:175,4645,942,399,79615,428,0002,057,0002,523,136
8May 15, 2021 08:175,4647,137,634,08416,392,0001,092,0002,519,040
9May 15, 2021 08:175,4704,102,228,16516,476,0001,029,0002,523,136
10May 15, 2021 08:175,4731,336,064,70517,515,00002,523,136
11May 15, 2021 08:175,4758,187,361,21314,429,0003,091,0002,527,232
12May 15, 2021 08:175,4789,419,135,05317,530,00002,523,136
13May 15, 2021 08:175,4835,172,576,85016,515,0001,032,0002,514,944
14May 15, 2021 08:175,4864,867,318,98216,524,0001,032,0002,523,136
15May 15, 2021 08:175,4874,329,028,02216,526,0001,032,0002,523,136
16May 15, 2021 08:175,4884,214,382,89016,528,0001,033,0002,265,088
17May 15, 2021 08:175,4944,219,758,20315,514,0002,068,0002,523,136
18May 15, 2021 08:175,4949,121,131,48716,547,0001,034,0002,519,040
19May 15, 2021 08:175,6677,368,367,40518,135,44102,277,376
20May 15, 2021 08:175,6678,230,587,79518,133,80502,281,472
21May 15, 2021 08:175,6689,887,679,41118,138,58002,281,472
22May 15, 2021 08:175,6691,055,702,79018,141,70802,281,472
23May 15, 2021 08:175,6826,753,611,91418,182,98202,277,376
24May 15, 2021 08:175,6933,270,042,84018,217,80302,281,472