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 22, 2021 18:46Sergey StreminSergey StreminScore: 5,337Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 22, 2021 18:485,2999,041,374,00415,961,000997,0002,277,376
2May 22, 2021 18:485,3049,046,707,48615,975,000998,0002,277,376
3May 22, 2021 18:465,3141,041,092,15916,006,0001,000,0002,375,680
4May 22, 2021 18:465,3163,046,155,66315,009,0002,001,0002,277,376
5May 22, 2021 18:485,3161,046,773,30416,010,0001,000,0002,277,376
6May 22, 2021 18:485,3203,040,055,23416,023,0001,001,0002,277,376
7May 22, 2021 18:465,3205,042,603,42116,023,0001,001,0002,277,376
8May 22, 2021 18:485,3207,043,312,76716,022,0001,001,0002,535,424
9May 22, 2021 18:485,3201,043,080,84515,021,0002,002,0002,277,376
10May 22, 2021 18:485,3248,039,316,17016,036,0001,002,0002,535,424
11May 22, 2021 18:465,3289,040,011,99315,044,0002,005,0002,281,472
12May 22, 2021 18:465,3288,039,979,28415,044,0002,005,0002,277,376
13May 22, 2021 18:465,3309,039,171,58516,054,0001,003,0002,277,376
14May 22, 2021 18:465,3365,042,070,31115,066,0002,008,0002,273,280
15May 22, 2021 18:485,3379,041,907,41915,070,0002,009,0002,277,376
16May 22, 2021 18:485,3373,046,484,71015,068,0002,009,0002,277,376
17May 22, 2021 18:465,3431,045,474,23715,085,0002,011,0002,281,472
18May 22, 2021 18:465,35141,347,29516,115,0001,007,0002,375,680
19May 22, 2021 18:465,5006,081,315,62217,600,82502,297,856
20May 22, 2021 18:465,5033,072,388,32817,611,04602,297,856
21May 22, 2021 18:485,5039,088,168,90917,608,54802,293,760
22May 22, 2021 18:485,5046,087,805,56917,613,44702,293,760
23May 22, 2021 18:465,5113,086,469,42917,633,82102,289,664
24May 22, 2021 18:485,5121,068,957,97017,638,32202,293,760
25May 22, 2021 18:465,5123,084,450,43317,636,91102,289,664
26May 22, 2021 18:465,5179,078,421,33317,655,70002,297,856
27May 22, 2021 18:485,5241,071,932,24917,676,13602,293,760
28May 22, 2021 18:485,5348,074,724,95817,709,88902,297,856
29May 22, 2021 18:485,56962,566,93017,821,30602,232,320
30May 22, 2021 18:465,66186,949,28418,115,46702,244,608