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 26, 2024 13:18vahookvahookScore: 4,288Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 26, 2024 13:184,25831,904,11913,625,00002,490,368
2Aug 26, 2024 13:184,26240,266,89913,639,00002,277,376
3Aug 26, 2024 13:184,26544,907,00913,649,00002,498,560
4Aug 26, 2024 13:184,26931,396,61813,661,00002,277,376
5Aug 26, 2024 13:184,27131,957,80213,668,00002,277,376
6Aug 26, 2024 13:184,27234,594,15013,669,00002,277,376
7Aug 26, 2024 13:184,27438,486,87713,677,00002,277,376
8Aug 26, 2024 13:184,27527,060,40813,681,00002,498,560
9Aug 26, 2024 13:184,27730,484,78713,686,00002,277,376
10Aug 26, 2024 13:184,27933,964,72713,694,00002,277,376
11Aug 26, 2024 13:184,27943,485,91213,692,00002,277,376
12Aug 26, 2024 13:184,28126,670,34913,700,00002,273,280
13Aug 26, 2024 13:184,28828,108,49813,723,00002,498,560
14Aug 26, 2024 13:184,29129,412,19813,731,00002,502,656
15Aug 26, 2024 13:184,29129,452,89813,730,00002,498,560
16Aug 26, 2024 13:184,33645,560,06813,874,00002,498,560
17Aug 26, 2024 13:184,34125,682,37112,899,000992,0002,535,424
18Aug 26, 2024 13:184,34134,634,10812,899,000992,0002,490,368
19Aug 26, 2024 13:184,53090,296,92414,496,80102,252,800
20Aug 26, 2024 13:184,55180,741,53014,562,06402,248,704
21Aug 26, 2024 13:184,56199,857,90214,593,94702,375,680
22Aug 26, 2024 13:184,56986,789,87314,620,03102,244,608
23Aug 26, 2024 13:184,56989,281,51814,620,35602,375,680
24Aug 26, 2024 13:184,58781,477,19314,679,55502,367,488