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 20, 2022 23:14Franek KortaFranek KortaScore: 5,364Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 20, 2022 23:145,32729,799,10416,044,0001,002,0002,269,184
2Aug 20, 2022 23:145,33239,484,85014,052,0003,011,0002,445,312
3Aug 20, 2022 23:145,34232,795,34216,089,0001,005,0002,269,184
4Aug 20, 2022 23:145,34436,905,34215,089,0002,011,0002,449,408
5Aug 20, 2022 23:145,35032,282,82716,112,0001,007,0002,441,216
6Aug 20, 2022 23:145,36342,014,30116,151,0001,009,0002,531,328
7Aug 20, 2022 23:145,36440,990,83015,147,0002,019,0002,441,216
8Aug 20, 2022 23:145,36836,922,64515,157,0002,021,0002,265,088
9Aug 20, 2022 23:145,37738,806,62215,181,0002,024,0002,449,408
10Aug 20, 2022 23:145,58577,554,28017,871,48402,207,744
11Aug 20, 2022 23:145,59476,464,98717,899,88902,199,552
12Aug 20, 2022 23:145,61782,823,98117,973,94502,195,456