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 16, 2024 11:50zielajzielajScore: 4,263Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 16, 2024 11:504,20633,957,51413,460,00002,490,368
2Aug 16, 2024 11:504,22429,448,22613,516,00002,531,328
3Aug 16, 2024 11:504,22733,109,36213,527,00002,531,328
4Aug 16, 2024 11:504,22829,452,68213,529,00002,531,328
5Aug 16, 2024 11:504,23134,893,44213,539,00002,490,368
6Aug 16, 2024 11:504,23432,469,64113,550,00002,269,184
7Aug 16, 2024 11:504,26336,022,96713,642,00002,269,184
8Aug 16, 2024 11:504,28729,911,18013,717,00002,498,560
9Aug 16, 2024 11:504,29829,986,53712,771,000982,0002,494,464
10Aug 16, 2024 11:504,51355,587,10614,440,07902,232,320
11Aug 16, 2024 11:504,56070,179,67014,592,79802,228,224
12Aug 16, 2024 11:504,56483,237,14514,604,73802,244,608