請輸出位數為2N的Good number 有幾個
,因為答案可能很大,請輸出 modulo M 的結果
1 25 2 150
14 5
1. 70% 分數的測資 N <= 5 , M <= 100
2. 25% 分數的測資 N <= 8 , M <= 1000
3. 4 % 分數的測資 N <= 10 , M <= 10000
4. 1 % 分數的測資 N <= 7000007 , M <= 10000
hint : please use brute force if you want to get 95 points
PS. 時間開到最寬了~