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 3, 2022 20:05deniskolsanovdeniskolsanovScore: 5,364Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 3, 2022 20:245,33140,103,47316,057,0001,003,0002,363,392
2Aug 3, 2022 20:055,33544,171,07715,063,0002,008,0002,363,392
3Aug 3, 2022 20:055,33843,915,80316,076,0001,004,0002,289,664
4Aug 3, 2022 20:245,34243,304,60017,095,00002,289,664
5Aug 3, 2022 20:245,35140,989,54416,117,0001,007,0002,375,680
6Aug 3, 2022 20:245,35340,807,79416,123,0001,007,0002,465,792
7Aug 3, 2022 20:245,35346,615,31716,124,0001,007,0002,289,664
8Aug 3, 2022 20:055,35341,880,67815,116,0002,015,0002,375,680
9Aug 3, 2022 20:055,35637,136,29416,132,0001,008,0002,375,680
10Aug 3, 2022 20:055,35638,302,80516,132,0001,008,0002,375,680
11Aug 3, 2022 20:245,35937,192,08815,132,0002,017,0002,289,664
12Aug 3, 2022 20:055,36351,445,05416,153,0001,009,0002,289,664
13Aug 3, 2022 20:245,36437,348,36715,145,0002,019,0002,367,488
14Aug 3, 2022 20:055,36745,134,52915,153,0002,020,0002,371,584
15Aug 3, 2022 20:055,36739,716,15816,164,0001,010,0002,285,568
16Aug 3, 2022 20:245,37034,751,58116,174,0001,010,0002,289,664
17Aug 3, 2022 20:055,37444,763,20215,173,0002,023,0002,371,584
18Aug 3, 2022 20:245,37940,745,78916,200,0001,012,0002,289,664
19Aug 3, 2022 20:245,56892,216,63917,818,68202,240,512
20Aug 3, 2022 20:055,59194,314,64317,891,28702,232,320
21Aug 3, 2022 20:245,60093,491,47617,921,33402,260,992
22Aug 3, 2022 20:055,60283,139,38917,926,44302,256,896
23Aug 3, 2022 20:245,60587,387,26317,937,27602,236,416
24Aug 3, 2022 20:055,626103,086,07318,002,91402,240,512