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 28, 2021 13:43Yuriy LyfenkoYuriy LyfenkoScore: 5,023Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 28, 2021 13:444,991538,280,89313,976,0001,996,0002,273,280
2Jun 28, 2021 13:444,992539,519,45313,978,0001,996,0002,273,280
3Jun 28, 2021 13:444,997539,218,07613,991,0001,998,0002,404,352
4Jun 28, 2021 13:434,999540,430,71413,997,0001,999,0002,273,280
5Jun 28, 2021 13:444,999538,490,74213,999,0001,999,0002,273,280
6Jun 28, 2021 13:435,007543,353,39215,022,0001,001,0002,281,472
7Jun 28, 2021 13:435,008541,983,01215,024,0001,001,0002,281,472
8Jun 28, 2021 13:435,011539,578,89414,032,0002,004,0002,273,280
9Jun 28, 2021 13:435,012545,823,99014,033,0002,004,0002,416,640
10Jun 28, 2021 13:445,012539,277,61316,037,00002,273,280
11Jun 28, 2021 13:435,013539,232,14214,036,0002,005,0002,273,280
12Jun 28, 2021 13:445,013537,739,81415,040,0001,002,0002,273,280
13Jun 28, 2021 13:445,023539,526,30914,063,0002,009,0002,281,472
14Jun 28, 2021 13:445,024536,297,41615,073,0001,004,0002,281,472
15Jun 28, 2021 13:435,028544,088,93715,084,0001,005,0002,273,280
16Jun 28, 2021 13:435,033547,364,94515,099,0001,006,0002,281,472
17Jun 28, 2021 13:435,035541,913,99815,165,000947,0002,273,280
18Jun 28, 2021 13:445,047538,111,42815,142,0001,009,0002,273,280
19Jun 28, 2021 13:435,146589,441,38816,466,53502,293,760
20Jun 28, 2021 13:445,151575,350,65716,483,00202,289,664
21Jun 28, 2021 13:435,160574,642,06516,511,36102,252,800
22Jun 28, 2021 13:445,164570,871,60216,525,25502,285,568
23Jun 28, 2021 13:435,177575,707,41716,565,39902,285,568
24Jun 28, 2021 13:445,183577,992,06716,586,46702,293,760