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 9, 2024 17:19Casper BelierCasper BelierScore: 5,780Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 9, 2024 17:195,71391,001,62018,282,21902,293,760
2Aug 9, 2024 17:195,73387,474,74918,344,79302,285,568
3Aug 9, 2024 17:195,74497,964,23918,380,29702,297,856
4Aug 9, 2024 17:195,76639,650,42017,427,0001,025,0002,269,184
5Aug 9, 2024 17:195,77647,977,88317,456,0001,026,0002,289,664
6Aug 9, 2024 17:195,77635,969,75717,457,0001,026,0002,519,040
7Aug 9, 2024 17:195,78043,511,15317,470,0001,027,0002,531,328
8Aug 9, 2024 17:195,78046,174,20317,470,0001,027,0002,289,664
9Aug 9, 2024 17:195,79440,841,20417,511,0001,030,0002,269,184
10Aug 9, 2024 17:195,80742,959,63817,550,0001,032,0002,527,232
11Aug 9, 2024 17:195,82845,111,35217,612,0001,036,0002,289,664
12Aug 9, 2024 17:195,84349,350,54417,659,0001,038,0002,289,664