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 16, 2021 18:34Yuriy LyfenkoYuriy LyfenkoScore: 5,458Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 16, 2021 18:345,42033,446,64416,325,0001,020,0002,379,776
2May 16, 2021 18:345,42644,102,59716,342,0001,021,0002,260,992
3May 16, 2021 18:345,43839,087,81617,402,00002,523,136
4May 16, 2021 18:345,44042,464,36317,407,00002,383,872
5May 16, 2021 18:345,44037,341,35314,337,0003,072,0002,523,136
6May 16, 2021 18:345,44644,849,43717,428,00002,265,088
7May 16, 2021 18:345,45837,896,04217,464,00002,523,136
8May 16, 2021 18:345,46040,806,20717,471,00002,392,064
9May 16, 2021 18:345,48343,903,30216,513,0001,032,0002,383,872
10May 16, 2021 18:345,67562,898,81218,161,04902,281,472
11May 16, 2021 18:345,70266,842,30818,244,92902,277,376
12May 16, 2021 18:345,70884,327,38018,264,61302,281,472