|
|
back to boardTime Limit Exceeded - Test #14 Hi, For large test cases like n = 18 etc, if the answer is Yes, does that mean that our program will need to test for all the 18 factorial possibilities ? That's like running the loop 10^16 times which is impossible within 3 seconds ! Thanks |
|
|