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 24, 2024 19:51zielajzielajScore: 4,176Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 24, 2024 19:514,13635,648,83713,236,00002,494,464
2Aug 24, 2024 19:514,14529,919,63113,264,00002,531,328
3Aug 24, 2024 19:514,15433,257,31613,292,00002,498,560
4Aug 24, 2024 19:514,15434,587,37013,294,00002,494,464
5Aug 24, 2024 19:514,15636,612,21113,299,00002,531,328
6Aug 24, 2024 19:514,15830,517,47013,306,00002,498,560
7Aug 24, 2024 19:514,17630,786,88713,364,00002,490,368
8Aug 24, 2024 19:514,18436,396,83613,388,00002,490,368
9Aug 24, 2024 19:514,19629,259,90712,395,0001,032,0002,494,464
10Aug 24, 2024 19:514,42386,701,58414,153,37102,236,416
11Aug 24, 2024 19:514,44148,370,41514,210,77902,236,416
12Aug 24, 2024 19:514,45851,884,71714,264,75102,232,320