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 listFeb 23, 2023 18:06DarkclainerDarkclainerScore: 5,067Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 23, 2023 18:064,99347,515,55214,981,000998,0002,269,184
2Feb 23, 2023 18:065,00342,850,41514,007,0002,001,0002,371,584
3Feb 23, 2023 18:065,01742,169,96615,051,0001,003,0002,531,328
4Feb 23, 2023 18:065,02835,157,96915,086,0001,005,0002,375,680
5Feb 23, 2023 18:065,03141,513,35515,093,0001,006,0002,269,184
6Feb 23, 2023 18:065,03746,567,36914,104,0002,014,0002,265,088
7Feb 23, 2023 18:065,06741,254,08214,187,0002,026,0002,269,184
8Feb 23, 2023 18:065,06832,764,00815,206,0001,013,0002,269,184
9Feb 23, 2023 18:065,06944,319,94614,194,0002,027,0002,269,184
10Feb 23, 2023 18:065,22591,457,86616,718,90702,244,608
11Feb 23, 2023 18:065,249100,314,78016,796,69802,236,416
12Feb 23, 2023 18:065,28081,337,05716,894,99002,232,320