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 19, 2024 09:50Matt StuchlikMatt StuchlikScore: 5,452Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 19, 2024 09:505,39044,044,64815,218,0002,029,0002,289,664
2Jul 19, 2024 09:505,39339,926,87615,228,0002,030,0002,265,088
3Jul 19, 2024 09:505,40334,922,29015,256,0002,034,0002,289,664
4Jul 19, 2024 09:505,42245,589,05315,308,0002,041,0002,289,664
5Jul 19, 2024 09:505,42341,852,35415,313,0002,041,0002,289,664
6Jul 19, 2024 09:505,42543,608,41015,318,0002,042,0002,289,664
7Jul 19, 2024 09:505,45240,303,22215,394,0002,052,0002,289,664
8Jul 19, 2024 09:505,45648,262,11715,406,0002,054,0002,289,664
9Jul 19, 2024 09:505,46044,539,51817,473,00002,273,280
10Jul 19, 2024 09:505,65961,610,56718,108,68202,306,048
11Jul 19, 2024 09:505,663100,464,00418,120,24102,289,664
12Jul 19, 2024 09:505,67290,819,23918,151,45802,301,952