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 4, 2024 21:28zielajzielajScore: 4,811Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 4, 2024 21:284,75836,085,12413,197,0002,030,0002,273,280
2Aug 4, 2024 21:284,77835,204,15813,251,0002,038,0002,289,664
3Aug 4, 2024 21:284,78234,197,56914,283,0001,020,0002,289,664
4Aug 4, 2024 21:284,78840,600,97514,302,0001,021,0002,289,664
5Aug 4, 2024 21:284,79436,911,62613,296,0002,045,0002,289,664
6Aug 4, 2024 21:284,80134,675,49113,315,0002,048,0002,289,664
7Aug 4, 2024 21:284,81137,287,27513,343,0002,052,0002,273,280
8Aug 4, 2024 21:284,83742,562,96715,477,00002,289,664
9Aug 4, 2024 21:284,84035,117,61614,456,0001,032,0002,289,664
10Aug 4, 2024 21:285,04782,156,12916,150,47902,179,072
11Aug 4, 2024 21:285,05881,105,56016,186,17002,306,048
12Aug 4, 2024 21:285,10479,090,31016,331,51502,301,952