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:41Yuriy LyfenkoYuriy LyfenkoScore: 5,459Success
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:415,409455,602,33716,229,0001,081,0002,527,232
2May 18, 2021 13:415,4181,163,815,26916,319,0001,019,0002,392,064
3May 18, 2021 13:415,4302,339,988,14916,354,0001,022,0002,265,088
4May 18, 2021 13:415,4342,316,797,94114,492,0002,898,0002,269,184
5May 18, 2021 13:415,4412,271,576,15017,411,00002,260,992
6May 18, 2021 13:415,4432,163,736,84616,452,000967,0002,265,088
7May 18, 2021 13:415,4592,535,002,95115,528,0001,941,0002,269,184
8May 18, 2021 13:415,4611,945,932,74715,535,0001,941,0002,523,136
9May 18, 2021 13:415,4631,909,293,49715,540,0001,942,0002,265,088
10May 18, 2021 13:415,5662,557,870,22317,809,66602,277,376
11May 18, 2021 13:415,5892,233,508,78017,884,98102,281,472
12May 18, 2021 13:415,5902,253,256,60917,887,65402,297,856