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 15:02vahookvahookScore: 4,379Success
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 15:024,34731,672,82712,916,000993,0002,277,376
2Aug 16, 2024 15:024,34829,411,86713,912,00002,535,424
3Aug 16, 2024 15:024,34834,281,99912,920,000993,0002,494,464
4Aug 16, 2024 15:024,35834,285,88312,951,000996,0002,502,656
5Aug 16, 2024 15:024,36726,176,30512,975,000998,0002,273,280
6Aug 16, 2024 15:024,36830,268,36612,981,000998,0002,535,424
7Aug 16, 2024 15:024,37935,025,26313,013,0001,001,0002,494,464
8Aug 16, 2024 15:024,38829,474,64313,038,0001,002,0002,494,464
9Aug 16, 2024 15:024,38832,160,41413,039,0001,003,0002,277,376
10Aug 16, 2024 15:024,63158,153,16614,819,34502,236,416
11Aug 16, 2024 15:024,64355,733,08914,858,05302,244,608
12Aug 16, 2024 15:024,66391,241,49914,920,37602,240,512