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 listMay 18, 2021 13:51Yuriy LyfenkoYuriy LyfenkoScore: 5,347Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 18, 2021 13:515,2801,809,729,37715,902,000993,0002,269,184
2May 18, 2021 13:515,301716,112,87715,967,000997,0002,260,992
3May 18, 2021 13:515,3102,929,030,38015,992,000999,0002,265,088
4May 18, 2021 13:515,3211,813,322,29315,023,0002,003,0002,265,088
5May 18, 2021 13:515,332407,843,62414,219,0002,843,0002,269,184
6May 18, 2021 13:515,3371,684,046,36315,068,0002,009,0002,265,088
7May 18, 2021 13:515,347785,387,81416,105,0001,006,0002,260,992
8May 18, 2021 13:515,3601,971,755,73016,199,000952,0002,523,136
9May 18, 2021 13:515,362258,837,28417,159,00002,269,184
10May 18, 2021 13:515,419417,007,19217,340,17702,273,280
11May 18, 2021 13:515,4201,279,183,56217,345,01202,281,472
12May 18, 2021 13:515,4501,310,681,36117,440,36602,281,472