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 listSep 3, 2022 21:11Franek KortaFranek KortaScore: 4,763Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 3, 2022 21:114,74336,034,27514,167,0001,011,0002,424,832
2Sep 3, 2022 21:114,74627,248,76713,162,0002,025,0002,424,832
3Sep 3, 2022 21:114,75539,429,65514,201,0001,014,0002,531,328
4Sep 3, 2022 21:114,75629,820,72411,160,0004,058,0002,269,184
5Sep 3, 2022 21:114,75731,896,99414,209,0001,014,0002,424,832
6Sep 3, 2022 21:114,76138,641,48614,220,0001,015,0002,269,184
7Sep 3, 2022 21:114,76337,432,18411,176,0004,064,0002,437,120
8Sep 3, 2022 21:114,76337,286,51614,226,0001,016,0002,437,120
9Sep 3, 2022 21:114,78942,273,04714,304,0001,021,0002,269,184
10Sep 3, 2022 21:115,05171,244,16816,163,02602,203,648
11Sep 3, 2022 21:115,07482,849,73916,237,09302,203,648
12Sep 3, 2022 21:115,076108,757,32816,242,58902,191,360