0_0_17201879_21113.cpp:79:4: error: conflicting declaration 'll N'
ll N,M;
^
0_0_17201879_21113.cpp:23:5: note: previous declaration as 'int N'
int N,M,T;
^
0_0_17201879_21113.cpp:79:6: error: conflicting declaration 'll M'
ll N,M;
^
0_0_17201879_21113.cpp:23:7: note: previous declaration as 'int M'
int N,M,T;
^
0_0_17201879_21113.cpp:80:5: error: redefinition of 'int T'
int T;
^
0_0_17201879_21113.cpp:23:9: note: 'int T' previously declared here
int N,M,T;
^
0_0_17201879_21113.cpp:82:19: error: conflicting declaration 'll dp [20][20][2000]'
ll dp[20][20][2000];
^
0_0_17201879_21113.cpp:25:5: note: previous declaration as 'int dp [25][10][13][13]'
int dp[25][10][13][13];//pos mod yes no noand1 yes
^
0_0_17201879_21113.cpp: In function 'll dfs(int, int, int, int)':
0_0_17201879_21113.cpp:86:32: error: wrong type argument to bit-complement
if(!limit && ~dp[pos][piv][num])
^
0_0_17201879_21113.cpp:87:26: error: invalid conversion from 'int*' to 'll {aka long long int}' [-fpermissive]
return dp[pos][piv][num];
^
0_0_17201879_21113.cpp:96:30: error: incompatible types in assignment of 'll {aka long long int}' to 'int [13]'
if(!limit) dp[pos][piv][num]=ret;
^
0_0_17201879_21113.cpp: In function 'int main()':
0_0_17201879_21113.cpp:111:5: error: redefinition of 'int main()'
int main()
^
0_0_17201879_21113.cpp:48:5: note: 'int main()' previously defined here
int main()
^
0_0_17201879_21113.cpp: At global scope:
0_0_17201879_21113.cpp:144:4: error: conflicting declaration 'll N'
ll N,M;
^
0_0_17201879_21113.cpp:23:5: note: previous declaration as 'int N'
int N,M,T;
^
0_0_17201879_21113.cpp:144:6: error: conflicting declaration 'll M'
ll N,M;
^
0_0_17201879_21113.cpp:23:7: note: previous declaration as 'int M'
int N,M,T;
^
0_0_17201879_21113.cpp:145:5: error: redefinition of 'int T'
int T,K;
^
0_0_17201879_21113.cpp:23:9: note: 'int T' previously declared here
int N,M,T;
^
0_0_17201879_21113.cpp:146:12: error: redefinition of 'int digt [20]'
int digt[20];
^
0_0_17201879_21113.cpp:81:5: note: 'int digt [20]' previously declared here
int digt[20];
^
0_0_17201879_21113.cpp:147:20: error: conflicting declaration 'll dp [20][1024][11]'
ll dp[20][1<<10][11];
^
0_0_17201879_21113.cpp:25:5: note: previous declaration as 'int dp [25][10][13][13]'
int dp[25][10][13][13];//pos mod yes no noand1 yes
^
0_0_17201879_21113.cpp: In function 'll dfs(int, int, int)':
0_0_17201879_21113.cpp:167:28: error: wrong type argument to bit-complement
if(!limit && ~dp[pos][s][K])
^
0_0_17201879_21113.cpp:168:22: error: invalid conversion from 'int*' to 'll {aka long long int}' [-fpermissive]
return dp[pos][s][K];
^
0_0_17201879_21113.cpp:176:26: error: incompatible types in assignment of 'll {aka long long int}' to 'int [13]'
if(!limit) dp[pos][s][K]=ret;
^
0_0_17201879_21113.cpp: In function 'll solve(ll)':
0_0_17201879_21113.cpp:179:4: error: redefinition of 'll solve(ll)'
ll solve(ll n)
^
0_0_17201879_21113.cpp:99:4: note: 'll solve(ll)' previously defined here
ll solve(ll n)
^
0_0_17201879_21113.cpp: In function 'int main()':
0_0_17201879_21113.cpp:188:5: error: redefinition of 'int main()'
int main()
^
0_0_17201879_21113.cpp:48:5: note: 'int main()' previously defined here
int main()
^
0_0_17201879_21113.cpp: At global scope:
0_0_17201879_21113.cpp:222:5: error: redefinition of 'int T'
int T;
^
0_0_17201879_21113.cpp:23:9: note: 'int T' previously declared here
int N,M,T;
^
0_0_17201879_21113.cpp:223:12: error: redefinition of 'int digt [20]'
int digt[20],len;
^
0_0_17201879_21113.cpp:81:5: note: 'int digt [20]' previously declared here
int digt[20];
^
0_0_17201879_21113.cpp:224:4: error: conflicting declaration 'll N'
ll N,M;
^
0_0_17201879_21113.cpp:23:5: note: previous declaration as 'int N'
int N,M,T;
^
0_0_17201879_21113.cpp:224:6: error: conflicting declaration 'll M'
ll N,M;
^
0_0_17201879_21113.cpp:23:7: note: previous declaration as 'int M'
int N,M,T;
^
0_0_17201879_21113.cpp: In function 'll dfs(int, int, int, int)':
0_0_17201879_21113.cpp:235:4: error: redefinition of 'll dfs(int, int, int, int)'
ll dfs(int pos,int bit,int mod,int limit){
^
0_0_17201879_21113.cpp:83:4: note: 'll dfs(int, int, int, int)' previously defined here
ll dfs(int pos,int piv,int num,int limit)
^
0_0_17201879_21113.cpp: In function 'll solve(ll)':
0_0_17201879_21113.cpp:249:4: error: redefinition of 'll solve(ll)'
ll solve(ll n)
^
0_0_17201879_21113.cpp:99:4: note: 'll solve(ll)' previously defined here
ll solve(ll n)
^
0_0_17201879_21113.cpp: In function 'int main()':
0_0_17201879_21113.cpp:259:5: error: redefinition of 'int main()'
int main()
^
0_0_17201879_21113.cpp:48:5: note: 'int main()' previously defined here
int main()
^
0_0_17201879_21113.cpp: At global scope:
0_0_17201879_21113.cpp:293:5: error: redefinition of 'int T'
int T;
^
0_0_17201879_21113.cpp:23:9: note: 'int T' previously declared here
int N,M,T;
^
0_0_17201879_21113.cpp:294:4: error: conflicting declaration 'll N'
ll N,M;
^
0_0_17201879_21113.cpp:23:5: note: previous declaration as 'int N'
int N,M,T;
^
0_0_17201879_21113.cpp:294:6: error: conflicting declaration 'll M'
ll N,M;
^
0_0_17201879_21113.cpp:23:7: note: previous declaration as 'int M'
int N,M,T;
^
0_0_17201879_21113.cpp:299:12: error: redefinition of 'int digt [20]'
int digt[20];
^
0_0_17201879_21113.cpp:81:5: note: 'int digt [20]' previously declared here
int digt[20];
^
0_0_17201879_21113.cpp: In function 'll solve(ll)':
0_0_17201879_21113.cpp:365:4: error: redefinition of 'll solve(ll)'
ll solve(ll n)
^
0_0_17201879_21113.cpp:99:4: note: 'll solve(ll)' previously defined here
ll solve(ll n)
^
0_0_17201879_21113.cpp: In function 'int main()':
0_0_17201879_21113.cpp:378:5: error: redefinition of 'int main()'
int main()
^
0_0_17201879_21113.cpp:48:5: note: 'int main()' previously defined here
int main()
^
|