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 4, 2024 21:39zielajzielajScore: 5,797Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 4, 2024 21:395,61341,151,78515,965,0001,995,0002,289,664
2Aug 4, 2024 21:395,62844,549,28016,008,0002,001,0002,289,664
3Aug 4, 2024 21:395,63842,260,75416,039,0002,004,0002,277,376
4Aug 4, 2024 21:395,65242,003,29416,076,0002,009,0002,273,280
5Aug 4, 2024 21:395,65543,311,92516,087,0002,010,0002,269,184
6Aug 4, 2024 21:395,66242,259,94117,112,0001,006,0002,289,664
7Aug 4, 2024 21:395,67042,832,01316,128,0002,016,0002,269,184
8Aug 4, 2024 21:395,67641,813,23416,146,0002,018,0002,269,184
9Aug 4, 2024 21:395,70443,010,76917,238,0001,014,0002,277,376
10Aug 4, 2024 21:395,77641,497,28217,456,0001,026,0002,289,664
11Aug 4, 2024 21:395,78636,783,87618,515,00002,289,664
12Aug 4, 2024 21:395,79044,770,29918,527,00002,289,664
13Aug 4, 2024 21:395,79745,990,82917,519,0001,030,0002,277,376
14Aug 4, 2024 21:395,79740,361,69517,521,0001,030,0002,273,280
15Aug 4, 2024 21:395,80242,339,32118,565,00002,289,664
16Aug 4, 2024 21:395,81744,965,90917,580,0001,034,0002,289,664
17Aug 4, 2024 21:395,83344,650,99618,666,00002,289,664
18Aug 4, 2024 21:395,83348,510,81517,630,0001,037,0002,277,376
19Aug 4, 2024 21:395,88989,492,92518,844,92202,179,072
20Aug 4, 2024 21:395,90984,635,64318,910,17702,174,976
21Aug 4, 2024 21:395,937123,475,94718,999,51902,310,144
22Aug 4, 2024 21:396,08185,867,22019,458,22902,183,168
23Aug 4, 2024 21:396,08582,426,91019,472,09302,306,048
24Aug 4, 2024 21:396,10897,338,00019,544,77602,306,048