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 24, 2021 06:33Yuriy LyfenkoYuriy LyfenkoScore: 5,112Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 24, 2021 06:335,05334,840,18615,160,0001,010,0002,400,256
2May 24, 2021 06:335,06140,707,49215,183,0001,012,0002,265,088
3May 24, 2021 06:335,08144,843,41515,244,0001,016,0002,265,088
4May 24, 2021 06:335,09238,591,44516,293,00002,265,088
5May 24, 2021 06:335,09332,237,84115,278,0001,018,0002,527,232
6May 24, 2021 06:335,09737,592,82315,290,0001,019,0002,265,088
7May 24, 2021 06:335,11235,127,80216,358,00002,396,160
8May 24, 2021 06:335,12331,891,25415,368,0001,024,0002,387,968
9May 24, 2021 06:335,13138,714,21315,393,0001,026,0002,502,656
10May 24, 2021 06:335,33565,392,89217,070,54502,281,472
11May 24, 2021 06:335,34361,297,02917,098,48002,277,376
12May 24, 2021 06:335,36281,822,90617,157,98202,273,280