A and B can be as large as $10^9$. However, $C$ is given to be within 5k types.
I tried writing a code, but it's in $O(A*C)$ and it's taking a huge time when $A, C$ exceeds say $5k$.
A and B can be as large as $10^9$. However, $C$ is given to be within 5k types.
I tried writing a code, but it's in $O(A*C)$ and it's taking a huge time when $A, C$ exceeds say $5k$.
Copyright © 2021 JogjaFile Inc.