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 5, 2022 18:53deniskolsanovdeniskolsanovScore: 5,477Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 5, 2022 18:535,45248,064,50716,420,0001,026,0002,375,680
2Aug 5, 2022 18:535,46235,636,62417,478,00002,367,488
3Aug 5, 2022 18:535,46341,311,28816,454,0001,028,0002,289,664
4Aug 5, 2022 18:535,46434,625,09717,484,00002,289,664
5Aug 5, 2022 18:535,46439,742,70016,458,0001,028,0002,379,776
6Aug 5, 2022 18:535,47343,782,71416,482,0001,030,0002,371,584
7Aug 5, 2022 18:535,47743,427,75416,495,0001,030,0002,371,584
8Aug 5, 2022 18:535,47942,732,13317,534,00002,289,664
9Aug 5, 2022 18:535,49233,513,31716,542,0001,033,0002,285,568
10Aug 5, 2022 18:535,68789,754,13918,198,54202,240,512
11Aug 5, 2022 18:535,72988,612,31718,332,37102,260,992
12Aug 5, 2022 18:535,74186,352,08318,369,73302,236,416