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 6, 2021 00:31Yuriy LyfenkoYuriy LyfenkoScore: 5,095Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2021 00:315,0381,046,779,85715,116,0001,007,0002,396,160
2Jul 6, 2021 00:315,0431,041,613,08915,130,0001,008,0002,523,136
3Jul 6, 2021 00:315,0501,040,222,64314,141,0002,020,0002,265,088
4Jul 6, 2021 00:315,0531,048,758,83314,147,0002,021,0002,396,160
5Jul 6, 2021 00:315,0561,042,513,53614,158,0002,022,0002,523,136
6Jul 6, 2021 00:315,0641,044,791,65115,193,0001,012,0002,260,992
7Jul 6, 2021 00:315,0951,039,760,00216,304,00002,265,088
8Jul 6, 2021 00:315,0981,041,566,13516,312,00002,265,088
9Jul 6, 2021 00:315,1081,041,620,37114,302,0002,043,0002,527,232
10Jul 6, 2021 00:315,2021,074,650,90816,644,96902,277,376
11Jul 6, 2021 00:315,2091,088,966,91416,669,47002,240,512
12Jul 6, 2021 00:315,2301,077,375,25116,736,93602,248,704