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:00Yuriy LyfenkoYuriy LyfenkoScore: 5,424Success
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:005,3954,245,347,43014,217,0003,046,0002,519,040
2May 16, 2021 18:005,3964,242,497,78015,237,0002,031,0002,260,992
3May 16, 2021 18:005,4024,240,777,40917,286,00002,260,992
4May 16, 2021 18:005,4084,242,345,71615,270,0002,036,0002,260,992
5May 16, 2021 18:005,4164,239,843,97816,313,0001,019,0002,523,136
6May 16, 2021 18:005,4214,245,516,82215,307,0002,041,0002,523,136
7May 16, 2021 18:005,4244,241,153,76317,358,00002,523,136
8May 16, 2021 18:005,4324,242,740,83317,381,00002,519,040
9May 16, 2021 18:005,4334,241,169,14116,363,0001,022,0002,519,040
10May 16, 2021 18:005,6344,301,289,32018,028,97602,281,472
11May 16, 2021 18:005,6414,282,313,10618,049,63002,281,472
12May 16, 2021 18:005,6534,275,661,26018,090,32402,281,472