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 18:16zielajzielajScore: 372,558Success
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 18:14371,6921,250,200,5971,189,415,07702,232,320
2Aug 16, 2024 18:14371,8091,247,098,8531,189,787,95902,220,032
3Aug 16, 2024 18:14372,3391,265,749,4771,191,484,56102,228,224
4Aug 16, 2024 18:16372,5171,254,499,3151,192,055,18602,371,584
5Aug 16, 2024 18:14372,5581,251,462,9251,192,186,05802,240,512
6Aug 16, 2024 18:14372,6161,262,383,7171,192,372,16402,256,896
7Aug 16, 2024 18:14372,6681,261,520,9261,192,537,68202,240,512
8Aug 16, 2024 18:16373,1871,252,064,0121,194,197,32502,359,296
9Aug 16, 2024 18:16373,8111,257,477,1661,196,194,67102,224,128