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 listAug 6, 2022 09:56deniskolsanovdeniskolsanovScore: 5,337Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 6, 2022 09:565,30932,435,65015,989,000999,0002,289,664
2Aug 6, 2022 09:565,31044,238,38715,992,000999,0002,371,584
3Aug 6, 2022 09:565,31532,809,07215,008,0002,001,0002,375,680
4Aug 6, 2022 09:565,32347,321,29515,029,0002,003,0002,379,776
5Aug 6, 2022 09:565,32534,361,52015,036,0002,004,0002,289,664
6Aug 6, 2022 09:565,33450,143,26515,061,0002,008,0002,289,664
7Aug 6, 2022 09:565,33740,429,39215,069,0002,009,0002,363,392
8Aug 6, 2022 09:565,36344,447,62815,143,0002,019,0002,289,664
9Aug 6, 2022 09:565,36745,468,70315,154,0002,020,0002,363,392
10Aug 6, 2022 09:565,53897,514,89517,722,12002,240,512
11Aug 6, 2022 09:565,55394,493,07217,770,62302,240,512
12Aug 6, 2022 09:565,568100,210,45717,816,98302,240,512