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 7, 2022 02:24Yuriy LyfenkoYuriy LyfenkoScore: 4,448Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 7, 2022 02:244,409538,613,68512,095,0002,015,0002,260,992
2Sep 7, 2022 02:244,437541,400,11813,183,0001,014,0002,260,992
3Sep 7, 2022 02:244,437542,934,53213,185,0001,014,0002,260,992
4Sep 7, 2022 02:244,443538,743,80113,203,0001,015,0002,523,136
5Sep 7, 2022 02:244,445536,832,07014,225,00002,265,088
6Sep 7, 2022 02:244,448539,347,34312,200,0002,033,0002,260,992
7Sep 7, 2022 02:244,448537,333,82113,219,0001,016,0002,265,088
8Sep 7, 2022 02:244,450537,624,84414,241,00002,523,136
9Sep 7, 2022 02:244,450535,924,16912,207,0002,034,0002,260,992
10Sep 7, 2022 02:244,593574,906,05614,697,87902,244,608
11Sep 7, 2022 02:244,599585,566,51514,715,87202,240,512
12Sep 7, 2022 02:244,610574,970,84814,752,29602,240,512