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 27, 2024 18:54HuynhHuynhScore: 5,586Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 27, 2024 18:545,51345,394,95617,642,00002,269,184
2Jul 27, 2024 18:545,52132,450,47117,667,00002,437,120
3Jul 27, 2024 18:545,53044,268,28817,695,00002,531,328
4Jul 27, 2024 18:545,57841,583,75715,868,0001,983,0002,424,832
5Jul 27, 2024 18:545,58436,249,60615,883,0001,985,0002,428,928
6Jul 27, 2024 18:545,58539,288,52114,894,0002,978,0002,514,944
7Jul 27, 2024 18:545,58647,251,22815,889,0001,986,0002,428,928
8Jul 27, 2024 18:545,59147,468,59416,897,000993,0002,433,024
9Jul 27, 2024 18:545,59139,481,14117,891,00002,269,184
10Jul 27, 2024 18:545,79781,875,33318,549,65902,195,456
11Jul 27, 2024 18:545,82672,763,68418,644,23602,318,336
12Jul 27, 2024 18:545,86087,312,03018,753,22902,183,168