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 listOct 30, 2023 22:31goon-goon-Score: 5,587Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 30, 2023 22:315,54149,201,07816,688,0001,043,0002,265,088
2Oct 30, 2023 22:315,54336,057,17816,696,0001,043,0002,265,088
3Oct 30, 2023 22:315,54542,019,74416,702,0001,043,0002,265,088
4Oct 30, 2023 22:315,58043,594,62915,872,0001,984,0002,383,872
5Oct 30, 2023 22:315,58249,376,09315,879,0001,984,0002,383,872
6Oct 30, 2023 22:315,58645,907,87815,888,0001,986,0002,265,088
7Oct 30, 2023 22:315,58743,788,15115,891,0001,986,0002,265,088
8Oct 30, 2023 22:315,58843,960,33317,881,00002,265,088
9Oct 30, 2023 22:315,58847,615,33616,889,000993,0002,392,064
10Oct 30, 2023 22:315,722108,675,08518,309,82602,285,568
11Oct 30, 2023 22:315,73686,561,50118,355,61002,281,472
12Oct 30, 2023 22:315,73687,592,23918,355,96902,240,512