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 22, 2022 19:32Robert BurkeRobert BurkeScore: 4,850Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 22, 2022 19:324,83131,156,09215,460,00002,441,216
2Jul 22, 2022 19:324,83633,673,39015,474,00002,281,472
3Jul 22, 2022 19:324,83934,570,84515,484,00002,433,024
4Jul 22, 2022 19:324,84036,873,08414,456,0001,032,0002,281,472
5Jul 22, 2022 19:324,84832,773,25515,513,00002,428,928
6Jul 22, 2022 19:324,85032,631,95014,487,0001,034,0002,281,472
7Jul 22, 2022 19:324,85034,099,95515,521,00002,437,120
8Jul 22, 2022 19:324,86330,462,09415,562,00002,433,024
9Jul 22, 2022 19:324,88841,177,56315,642,00002,281,472
10Jul 22, 2022 19:324,97973,281,63115,932,98802,183,168
11Jul 22, 2022 19:324,99460,339,72915,981,64002,183,168
12Jul 22, 2022 19:325,01676,051,49616,050,65002,183,168