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 listJan 21, 2024 15:58Franek KortaFranek KortaScore: 4,568Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 21, 2024 15:584,53732,001,47614,519,00002,269,184
2Jan 21, 2024 15:584,54828,256,05014,554,00002,437,120
3Jan 21, 2024 15:584,55030,916,80914,559,00002,453,504
4Jan 21, 2024 15:584,55229,528,50514,566,00002,445,312
5Jan 21, 2024 15:584,55334,066,63014,568,00002,445,312
6Jan 21, 2024 15:584,55427,847,52713,533,0001,041,0002,265,088
7Jan 21, 2024 15:584,55428,150,59214,574,00002,445,312
8Jan 21, 2024 15:584,55636,612,77314,580,00002,445,312
9Jan 21, 2024 15:584,55727,642,78713,540,0001,041,0002,265,088
10Jan 21, 2024 15:584,55835,276,75214,586,00002,265,088
11Jan 21, 2024 15:584,55932,435,71914,589,00002,269,184
12Jan 21, 2024 15:584,56831,688,18213,573,0001,044,0002,531,328
13Jan 21, 2024 15:584,56841,464,40614,617,00002,265,088
14Jan 21, 2024 15:584,56835,553,13614,619,00002,265,088
15Jan 21, 2024 15:584,56935,621,47412,533,0002,088,0002,445,312
16Jan 21, 2024 15:584,57029,262,73813,579,0001,044,0002,531,328
17Jan 21, 2024 15:584,57339,958,71713,587,0001,045,0002,445,312
18Jan 21, 2024 15:584,58240,959,85414,663,00002,531,328
19Jan 21, 2024 15:584,79676,717,37315,345,82902,191,360
20Jan 21, 2024 15:584,81584,262,94615,407,16902,195,456
21Jan 21, 2024 15:584,82269,543,19115,429,71602,195,456
22Jan 21, 2024 15:584,82488,029,05715,436,73002,191,360
23Jan 21, 2024 15:584,82954,593,00115,452,67202,191,360
24Jan 21, 2024 15:584,83260,856,61815,463,52402,191,360