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 17, 2024 10:50zielajzielajScore: 4,186Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 17, 2024 10:514,15733,818,57713,301,00002,269,184
2Aug 17, 2024 10:514,15934,135,67513,308,00002,494,464
3Aug 17, 2024 10:504,16040,095,14513,312,00002,490,368
4Aug 17, 2024 10:504,16028,844,33113,312,00002,531,328
5Aug 17, 2024 10:514,16035,929,38613,311,00002,531,328
6Aug 17, 2024 10:514,17126,683,03612,320,0001,026,0002,531,328
7Aug 17, 2024 10:514,17235,306,74213,349,00002,531,328
8Aug 17, 2024 10:504,17331,374,26213,353,00002,269,184
9Aug 17, 2024 10:514,17334,742,76313,355,00002,269,184
10Aug 17, 2024 10:514,17528,683,12313,360,00002,498,560
11Aug 17, 2024 10:514,17528,246,39213,360,00002,494,464
12Aug 17, 2024 10:514,18432,461,86413,389,00002,498,560
13Aug 17, 2024 10:504,18628,920,11413,395,00002,531,328
14Aug 17, 2024 10:504,18628,468,55013,396,00002,486,272
15Aug 17, 2024 10:504,18735,815,86212,367,0001,030,0002,490,368
16Aug 17, 2024 10:504,19634,286,30713,428,00002,531,328
17Aug 17, 2024 10:504,19634,382,28013,428,00002,494,464
18Aug 17, 2024 10:504,21434,326,29513,484,00002,531,328
19Aug 17, 2024 10:504,43368,813,91914,184,20602,240,512
20Aug 17, 2024 10:514,44966,799,34014,237,11602,236,416
21Aug 17, 2024 10:514,46679,697,06014,291,84802,240,512
22Aug 17, 2024 10:504,47680,466,67814,322,96102,236,416
23Aug 17, 2024 10:504,49194,678,53514,370,29202,240,512
24Aug 17, 2024 10:514,50693,686,15914,417,96702,375,680