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 listMar 7, 2024 07:58Huy Duc LeHuy Duc LeScore: 4,648Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 7, 2024 07:584,59932,060,17413,665,0001,051,0002,392,064
2Mar 7, 2024 07:584,60930,453,62413,695,0001,053,0002,265,088
3Mar 7, 2024 07:584,61143,181,61714,754,00002,265,088
4Mar 7, 2024 07:584,62832,752,10913,823,000987,0002,269,184
5Mar 7, 2024 07:584,64643,550,83313,876,000991,0002,383,872
6Mar 7, 2024 07:584,64635,841,61613,877,000991,0002,265,088
7Mar 7, 2024 07:584,64837,599,28513,882,000991,0002,392,064
8Mar 7, 2024 07:584,65428,833,71914,894,00002,265,088
9Mar 7, 2024 07:584,65839,716,49014,906,00002,265,088
10Mar 7, 2024 07:584,84286,553,34515,492,86202,285,568
11Mar 7, 2024 07:584,87193,781,47215,585,73102,285,568
12Mar 7, 2024 07:584,89487,790,07515,660,76602,281,472