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:45zielajzielajScore: 4,363Success
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:454,34827,297,86212,920,000993,0002,449,408
2Aug 11, 2024 00:454,34940,137,31211,929,0001,988,0002,449,408
3Aug 11, 2024 00:454,35128,009,19613,922,00002,445,312
4Aug 11, 2024 00:454,35229,718,44113,925,00002,269,184
5Aug 11, 2024 00:454,35731,655,46811,950,0001,991,0002,531,328
6Aug 11, 2024 00:454,36030,113,95711,958,0001,993,0002,449,408
7Aug 11, 2024 00:454,36332,817,39811,966,0001,994,0002,449,408
8Aug 11, 2024 00:454,36633,889,97111,975,0001,995,0002,531,328
9Aug 11, 2024 00:454,38830,050,67512,035,0002,005,0002,457,600
10Aug 11, 2024 00:454,67378,509,29214,953,78302,199,552
11Aug 11, 2024 00:454,68760,739,00414,998,50002,207,744
12Aug 11, 2024 00:454,68764,125,36614,999,50702,191,360