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 28, 2024 13:06BenBenScore: 4,737Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 28, 2024 13:064,72132,271,89414,100,0001,007,0002,519,040
2Jul 28, 2024 13:064,72334,947,92214,106,0001,007,0002,379,776
3Jul 28, 2024 13:064,72748,492,63614,119,0001,008,0002,260,992
4Jul 28, 2024 13:064,72844,674,12912,104,0003,026,0002,519,040
5Jul 28, 2024 13:064,73344,124,56314,136,0001,009,0002,494,464
6Jul 28, 2024 13:064,73440,263,75814,140,0001,010,0002,519,040
7Jul 28, 2024 13:064,73732,544,67213,138,0002,021,0002,519,040
8Jul 28, 2024 13:064,74545,072,47813,161,0002,024,0002,527,232
9Jul 28, 2024 13:064,76836,955,97713,222,0002,034,0002,519,040
10Jul 28, 2024 13:064,96264,642,56515,879,49502,277,376
11Jul 28, 2024 13:064,98690,192,73615,954,03902,281,472
12Jul 28, 2024 13:065,01886,836,97316,057,06202,293,760