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 listSep 4, 2021 22:05Andrey TsvetkovAndrey TsvetkovScore: 5,650Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 4, 2021 22:025,59941,629,02315,927,0001,990,0002,347,008
2Sep 4, 2021 22:055,60539,558,13116,940,000996,0002,342,912
3Sep 4, 2021 22:055,60638,348,13316,942,000996,0002,342,912
4Sep 4, 2021 22:065,60938,934,29616,953,000997,0002,441,216
5Sep 4, 2021 22:065,61236,196,55215,962,0001,995,0002,342,912
6Sep 4, 2021 22:065,61344,144,21816,963,000997,0002,342,912
7Sep 4, 2021 22:065,61743,937,15116,975,000998,0002,342,912
8Sep 4, 2021 22:025,61944,377,65216,983,000999,0002,437,120
9Sep 4, 2021 22:025,61940,513,93115,984,0001,998,0002,437,120
10Sep 4, 2021 22:025,62045,386,19915,987,0001,998,0002,342,912
11Sep 4, 2021 22:065,62635,624,47916,004,0002,000,0002,428,928
12Sep 4, 2021 22:065,62737,253,74517,005,0001,000,0002,437,120
13Sep 4, 2021 22:025,63143,518,37416,017,0002,002,0002,293,760
14Sep 4, 2021 22:025,63186,865,30018,017,64702,269,184
15Sep 4, 2021 22:055,63234,611,88116,020,0002,002,0002,527,232
16Sep 4, 2021 22:055,63334,561,56716,022,0002,002,0002,437,120
17Sep 4, 2021 22:055,63842,357,87417,039,0001,002,0002,342,912
18Sep 4, 2021 22:055,64338,215,00216,051,0002,006,0002,433,024
19Sep 4, 2021 22:025,65041,630,13117,077,0001,004,0002,437,120
20Sep 4, 2021 22:025,65191,672,33418,081,87402,269,184
21Sep 4, 2021 22:065,65136,356,60416,073,0002,009,0002,424,832
22Sep 4, 2021 22:065,65342,332,34616,079,0002,009,0002,301,952
23Sep 4, 2021 22:055,65344,360,13817,084,0001,004,0002,433,024
24Sep 4, 2021 22:065,65693,365,77118,100,51902,269,184
25Sep 4, 2021 22:025,65746,574,71016,092,0002,011,0002,342,912
26Sep 4, 2021 22:065,65844,255,94617,101,0001,005,0002,293,760
27Sep 4, 2021 22:065,661100,769,23718,113,84102,277,376
28Sep 4, 2021 22:055,66537,841,00216,113,0002,014,0002,441,216
29Sep 4, 2021 22:055,66545,943,43516,115,0002,014,0002,433,024
30Sep 4, 2021 22:025,67047,089,28016,129,0002,016,0002,543,616
31Sep 4, 2021 22:055,67166,209,58118,147,39602,269,184
32Sep 4, 2021 22:025,67135,267,63917,138,0001,008,0002,437,120
33Sep 4, 2021 22:055,67987,788,09018,171,77902,273,280
34Sep 4, 2021 22:065,68591,623,48118,193,45502,269,184
35Sep 4, 2021 22:025,70365,985,91418,248,30602,277,376
36Sep 4, 2021 22:055,744108,222,03818,379,55302,277,376