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 29, 2024 06:13Matt StuchlikMatt StuchlikScore: 4,518Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 29, 2024 06:134,48729,363,22113,334,0001,025,0002,416,640
2Jul 29, 2024 06:134,49532,573,52413,357,0001,027,0002,531,328
3Jul 29, 2024 06:134,51229,143,09013,406,0001,031,0002,531,328
4Jul 29, 2024 06:134,51330,739,12914,441,00002,428,928
5Jul 29, 2024 06:134,51535,981,83614,449,00002,428,928
6Jul 29, 2024 06:134,51631,953,02614,451,00002,531,328
7Jul 29, 2024 06:134,51835,127,17013,426,0001,032,0002,433,024
8Jul 29, 2024 06:134,52340,131,59114,472,00002,437,120
9Jul 29, 2024 06:134,53131,114,91314,498,00002,424,832
10Jul 29, 2024 06:134,74579,198,65815,182,88202,314,240
11Jul 29, 2024 06:134,75090,902,06715,198,46102,195,456
12Jul 29, 2024 06:134,75789,013,55015,222,94502,310,144