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:12Franek KortaFranek KortaScore: 4,771Success
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:124,73632,665,67414,146,0001,010,0002,437,120
2Sep 3, 2022 21:124,74940,662,22713,171,0002,026,0002,437,120
3Sep 3, 2022 21:124,74931,021,06514,185,0001,013,0002,531,328
4Sep 3, 2022 21:124,75836,642,55214,210,0001,015,0002,527,232
5Sep 3, 2022 21:124,76636,635,28514,234,0001,016,0002,531,328
6Sep 3, 2022 21:124,76631,179,73513,219,0002,033,0002,269,184
7Sep 3, 2022 21:124,77132,388,02914,178,0001,090,0002,531,328
8Sep 3, 2022 21:124,77734,064,56713,247,0002,038,0002,269,184
9Sep 3, 2022 21:124,85632,810,92014,567,000971,0002,527,232
10Sep 3, 2022 21:125,04777,193,17216,150,70602,265,088
11Sep 3, 2022 21:125,06598,447,06116,207,90702,195,456
12Sep 3, 2022 21:125,073106,997,03916,233,62902,207,744