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 listJan 19, 2022 12:54Andrey TsvetkovAndrey TsvetkovScore: 5,725Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 19, 2022 12:545,69242,110,58216,191,0002,023,0002,461,696
2Jan 19, 2022 12:545,69941,080,31515,198,0003,039,0002,465,792
3Jan 19, 2022 12:545,70134,102,56315,202,0003,040,0002,342,912
4Jan 19, 2022 12:545,71440,524,27916,253,0002,031,0002,473,984
5Jan 19, 2022 12:545,71775,893,89418,292,81402,297,856
6Jan 19, 2022 12:545,72242,992,95415,258,0003,051,0002,478,080
7Jan 19, 2022 12:545,72535,664,92415,268,0003,053,0002,334,720
8Jan 19, 2022 12:545,73539,019,81616,313,0002,039,0002,334,720
9Jan 19, 2022 12:545,74586,873,95518,384,76402,285,568
10Jan 19, 2022 12:545,76035,167,29516,384,0002,048,0002,334,720
11Jan 19, 2022 12:545,76175,541,52218,433,91702,281,472
12Jan 19, 2022 12:545,80539,863,20517,545,0001,032,0002,297,856