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:00Franek KortaFranek KortaScore: 4,777Success
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:004,73438,076,73813,130,0002,020,0002,531,328
2Sep 3, 2022 21:004,74329,342,06812,142,0003,035,0002,437,120
3Sep 3, 2022 21:004,76333,932,28914,226,0001,016,0002,428,928
4Sep 3, 2022 21:004,76335,246,57512,195,0003,048,0002,531,328
5Sep 3, 2022 21:004,76741,461,61013,220,0002,033,0002,269,184
6Sep 3, 2022 21:004,77534,957,13514,261,0001,018,0002,531,328
7Sep 3, 2022 21:004,77730,769,42714,267,0001,019,0002,433,024
8Sep 3, 2022 21:004,77831,226,70714,269,0001,019,0002,437,120
9Sep 3, 2022 21:004,80334,126,71214,344,0001,024,0002,424,832
10Sep 3, 2022 21:005,05679,710,02516,177,60802,183,168
11Sep 3, 2022 21:005,06273,314,48416,198,14702,187,264
12Sep 3, 2022 21:005,06682,673,12516,210,48002,195,456