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:12Yuriy LyfenkoYuriy LyfenkoScore: 4,445Success
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:124,418537,155,06512,119,0002,019,0002,523,136
2Sep 7, 2022 02:124,428539,911,66012,144,0002,024,0002,387,968
3Sep 7, 2022 02:124,428539,777,46413,159,0001,012,0002,523,136
4Sep 7, 2022 02:124,437536,938,14312,170,0002,028,0002,387,968
5Sep 7, 2022 02:124,442540,975,36712,184,0002,030,0002,265,088
6Sep 7, 2022 02:124,442539,929,54713,200,0001,015,0002,392,064
7Sep 7, 2022 02:124,445538,763,39513,208,0001,016,0002,265,088
8Sep 7, 2022 02:124,448543,435,91412,199,0002,033,0002,265,088
9Sep 7, 2022 02:124,448548,404,83013,217,0001,016,0002,523,136
10Sep 7, 2022 02:124,622578,313,85314,789,37502,244,608
11Sep 7, 2022 02:124,623573,237,28014,794,33902,240,512
12Sep 7, 2022 02:124,626652,057,01514,803,37302,269,184