#include using namespace std; long countArray(int n, int k, int x) { // Return the number of ways to fill in the array. long long dp[100001][2]; memset(dp,0,sizeof(dp)); int mod = 1000000007; if (1==x){ dp[0][0] = 1; }else{ dp[0][1] = 1; //cout<> n >> k >> x; long answer = countArray(n, k, x); cout << answer << endl; return 0; }