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 3, 2024 18:40Nao YonashiroNao YonashiroScore: 4,563Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 3, 2024 18:404,53434,726,63913,473,0001,036,0002,383,872
2Aug 3, 2024 18:404,53835,193,25113,483,0001,037,0002,265,088
3Aug 3, 2024 18:404,54428,415,36014,542,00002,265,088
4Aug 3, 2024 18:404,54832,343,77313,515,0001,039,0002,523,136
5Aug 3, 2024 18:404,55133,982,87513,524,0001,040,0002,392,064
6Aug 3, 2024 18:404,56030,443,64014,593,00002,265,088
7Aug 3, 2024 18:404,56337,046,69913,560,0001,043,0002,265,088
8Aug 3, 2024 18:404,57230,701,50314,629,00002,392,064
9Aug 3, 2024 18:404,58340,700,99113,617,0001,047,0002,265,088
10Aug 3, 2024 18:404,827101,830,74015,445,80702,273,280
11Aug 3, 2024 18:404,85785,170,95015,542,86402,285,568
12Aug 3, 2024 18:404,85982,574,93915,547,56702,293,760