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 listSep 7, 2022 02:54Yuriy LyfenkoYuriy LyfenkoScore: 4,460Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 7, 2022 02:544,406538,174,12912,084,0002,014,0002,519,040
2Sep 7, 2022 02:544,406539,361,73612,085,0002,014,0002,260,992
3Sep 7, 2022 02:544,425537,526,72012,138,0002,023,0002,265,088
4Sep 7, 2022 02:544,432539,987,51913,169,0001,013,0002,523,136
5Sep 7, 2022 02:544,437538,998,10313,183,0001,014,0002,392,064
6Sep 7, 2022 02:544,451542,876,28612,209,0002,034,0002,523,136
7Sep 7, 2022 02:544,460534,792,94613,254,0001,019,0002,527,232
8Sep 7, 2022 02:544,519538,067,43813,429,0001,033,0002,260,992
9Sep 7, 2022 02:544,616573,435,00714,770,77002,277,376
10Sep 7, 2022 02:544,619573,338,05714,782,12702,240,512
11Sep 7, 2022 02:544,623540,781,54014,792,00002,514,944
12Sep 7, 2022 02:544,634568,039,93714,830,30902,240,512