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 2, 2021 21:51Yuriy LyfenkoYuriy LyfenkoScore: 5,031Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 2, 2021 21:514,9951,540,787,28413,987,0001,998,0002,281,472
2Jun 2, 2021 21:514,9971,541,261,18513,991,0001,998,0002,404,352
3Jun 2, 2021 21:515,0031,542,796,12314,010,0002,001,0002,281,472
4Jun 2, 2021 21:515,0101,538,471,35615,030,0001,002,0002,281,472
5Jun 2, 2021 21:515,0291,537,241,78414,082,0002,011,0002,273,280
6Jun 2, 2021 21:515,0301,537,313,00815,090,0001,006,0002,273,280
7Jun 2, 2021 21:515,0311,546,510,95315,093,0001,006,0002,273,280
8Jun 2, 2021 21:515,0471,540,653,38815,142,0001,009,0002,412,544
9Jun 2, 2021 21:515,0491,544,737,13214,138,0002,019,0002,273,280
10Jun 2, 2021 21:515,1561,589,929,27916,500,54402,252,800
11Jun 2, 2021 21:515,1911,584,828,95216,610,16502,281,472
12Jun 2, 2021 21:515,2121,569,803,96616,678,33802,256,896