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 30, 2021 17:34Yuriy LyfenkoYuriy LyfenkoError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 30, 2021 17:3400000Error: exit with code 1: alg:0 fwd:896 mode:3 time:14884stderr
2May 30, 2021 17:345,23530,237,13315,705,0001,047,0002,404,352
3May 30, 2021 17:345,27038,708,58415,873,000992,0002,412,544
4May 30, 2021 17:345,27234,044,70515,879,000992,0002,412,544
5May 30, 2021 17:345,27338,253,71714,890,0001,985,0002,281,472
6May 30, 2021 17:345,27448,697,19314,892,0001,985,0002,281,472
7May 30, 2021 17:345,27545,953,38114,894,0001,985,0002,281,472
8May 30, 2021 17:345,27947,928,20614,905,0001,987,0002,396,160
9May 30, 2021 17:345,28044,749,05314,909,0001,987,0002,404,352
10May 30, 2021 17:345,28440,614,94215,915,000994,0002,273,280
11May 30, 2021 17:345,41493,832,73417,324,68102,289,664
12May 30, 2021 17:345,42271,726,44717,351,14602,293,760
13May 30, 2021 17:345,44670,912,33717,425,75802,293,760