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 12, 2021 21:01Yuriy LyfenkoYuriy LyfenkoScore: 5,671Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 12, 2021 21:015,63249,634,90516,019,0002,002,0002,392,064
2May 12, 2021 21:015,63545,774,36717,031,0001,001,0002,523,136
3May 12, 2021 21:015,63941,071,57017,043,0001,002,0002,400,256
4May 12, 2021 21:015,64535,415,57015,054,0003,010,0002,387,968
5May 12, 2021 21:015,65444,166,59416,082,0002,010,0002,523,136
6May 12, 2021 21:015,66050,102,53816,100,0002,012,0002,387,968
7May 12, 2021 21:015,67137,737,52016,130,0002,016,0002,523,136
8May 12, 2021 21:015,68648,265,22016,173,0002,021,0002,494,464
9May 12, 2021 21:015,68847,999,48316,181,0002,022,0002,523,136
10May 12, 2021 21:015,84289,129,25718,694,31602,281,472
11May 12, 2021 21:015,87298,226,95118,791,90602,281,472
12May 12, 2021 21:015,88888,852,59918,841,30302,285,568