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 14:17Yuriy LyfenkoYuriy LyfenkoScore: 5,484Success
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 14:175,4392,674,086,57916,382,0001,023,0002,265,088
2May 18, 2021 14:175,440322,239,33316,385,0001,024,0002,523,136
3May 18, 2021 14:175,4642,248,076,52916,458,0001,028,0002,523,136
4May 18, 2021 14:175,4682,136,946,05415,555,0001,944,0002,519,040
5May 18, 2021 14:175,473740,157,96516,485,0001,030,0002,519,040
6May 18, 2021 14:175,4841,280,916,23017,548,00002,510,848
7May 18, 2021 14:175,484876,873,97717,549,00002,519,040
8May 18, 2021 14:175,4861,971,312,43615,489,0002,065,0002,519,040
9May 18, 2021 14:175,514606,015,55315,686,0001,960,0002,523,136
10May 18, 2021 14:175,6631,461,701,90918,121,57902,285,568
11May 18, 2021 14:175,684867,188,06318,189,94102,281,472
12May 18, 2021 14:175,6982,473,586,41218,232,58002,281,472