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 11, 2021 21:55Yuriy LyfenkoYuriy LyfenkoScore: 5,611Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 11, 2021 21:555,58537,895,22916,879,000992,0002,260,992
2May 11, 2021 21:555,58541,342,63615,886,0001,985,0002,396,160
3May 11, 2021 21:555,58947,636,76815,899,0001,987,0002,260,992
4May 11, 2021 21:555,59350,374,69916,902,000994,0002,260,992
5May 11, 2021 21:555,59734,598,48715,921,0001,990,0002,523,136
6May 11, 2021 21:555,60342,967,37614,943,0002,988,0002,523,136
7May 11, 2021 21:555,61141,941,31016,959,000997,0002,392,064
8May 11, 2021 21:555,61444,214,38916,966,000998,0002,400,256
9May 11, 2021 21:555,61748,228,63214,978,0002,995,0002,523,136
10May 11, 2021 21:555,76084,641,38818,432,71402,281,472
11May 11, 2021 21:555,76471,703,45218,443,82002,281,472
12May 11, 2021 21:555,80386,992,60318,570,26302,281,472