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 11, 2024 00:53Yuriy LyfenkoYuriy LyfenkoScore: 4,378Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 11, 2024 00:544,359634,908,35411,956,0001,992,0002,273,280
2Aug 11, 2024 00:534,361635,408,63611,963,0001,993,0002,535,424
3Aug 11, 2024 00:534,363637,290,84111,967,0001,994,0002,445,312
4Aug 11, 2024 00:544,367642,004,14112,977,000998,0002,273,280
5Aug 11, 2024 00:534,368639,410,99411,982,0001,997,0002,273,280
6Aug 11, 2024 00:544,368635,783,64711,981,0001,996,0002,535,424
7Aug 11, 2024 00:544,369635,649,45611,983,0001,997,0002,535,424
8Aug 11, 2024 00:544,372637,908,09011,992,0001,998,0002,273,280
9Aug 11, 2024 00:534,373636,091,93811,994,0001,999,0002,535,424
10Aug 11, 2024 00:544,373634,258,75011,996,0001,999,0002,535,424
11Aug 11, 2024 00:544,375634,869,43712,001,0002,000,0002,535,424
12Aug 11, 2024 00:544,377635,067,27912,006,0002,001,0002,535,424
13Aug 11, 2024 00:534,378632,966,61512,009,0002,001,0002,273,280
14Aug 11, 2024 00:534,379639,985,11612,011,0002,001,0002,273,280
15Aug 11, 2024 00:534,380635,887,70312,014,0002,002,0002,535,424
16Aug 11, 2024 00:544,388635,124,61012,037,0002,006,0002,535,424
17Aug 11, 2024 00:534,393638,180,33012,051,0002,008,0002,535,424
18Aug 11, 2024 00:534,406635,413,68712,084,0002,014,0002,535,424
19Aug 11, 2024 00:534,563672,815,66414,601,54202,203,648
20Aug 11, 2024 00:544,588678,227,33714,681,13302,351,104
21Aug 11, 2024 00:534,591668,787,14314,690,02402,199,552
22Aug 11, 2024 00:534,598676,989,35614,713,36402,322,432
23Aug 11, 2024 00:544,617695,308,45814,773,19102,330,624
24Aug 11, 2024 00:544,620675,330,10614,783,96502,326,528