0_0_17200807_32591.cpp:63:2: error: stray '#' in program
}#include<cstdio>
^
0_0_17200807_32591.cpp:63:3: error: 'include' does not name a type
}#include<cstdio>
^
0_0_17200807_32591.cpp:67:11: error: redefinition of 'const int maxn'
const int maxn = 100000+10;
^
0_0_17200807_32591.cpp:7:11: note: 'const int maxn' previously defined here
const int maxn = 110;
^
0_0_17200807_32591.cpp:69:12: error: redefinition of 'int dp [110]'
int dp[maxn];
^
0_0_17200807_32591.cpp:9:5: note: 'int dp [110]' previously declared here
int dp[maxn];
^
0_0_17200807_32591.cpp:70:10: error: conflicting declaration 'int w [110]'
int w[110],v[110];
^
0_0_17200807_32591.cpp:12:13: note: previous declaration as 'int w [2010]'
int v[Maxn],w[Maxn];
^
0_0_17200807_32591.cpp:70:17: error: conflicting declaration 'int v [110]'
int w[110],v[110];
^
0_0_17200807_32591.cpp:12:5: note: previous declaration as 'int v [2010]'
int v[Maxn],w[Maxn];
^
0_0_17200807_32591.cpp:71:5: error: redefinition of 'int n'
int n,m;
^
0_0_17200807_32591.cpp:10:5: note: 'int n' previously declared here
int n,m;
^
0_0_17200807_32591.cpp:71:7: error: redefinition of 'int m'
int n,m;
^
0_0_17200807_32591.cpp:10:7: note: 'int m' previously declared here
int n,m;
^
0_0_17200807_32591.cpp: In function 'int main()':
0_0_17200807_32591.cpp:73:5: error: redefinition of 'int main()'
int main()
^
0_0_17200807_32591.cpp:18:5: note: 'int main()' previously defined here
int main()
^
0_0_17200807_32591.cpp: At global scope:
0_0_17200807_32591.cpp:107:11: error: redefinition of 'const int maxn'
const int maxn = 50000+10;
^
0_0_17200807_32591.cpp:7:11: note: 'const int maxn' previously defined here
const int maxn = 110;
^
0_0_17200807_32591.cpp:111:5: error: redefinition of 'int n'
int n,q;
^
0_0_17200807_32591.cpp:10:5: note: 'int n' previously declared here
int n,m;
^
0_0_17200807_32591.cpp: In function 'int main()':
0_0_17200807_32591.cpp:134:5: error: redefinition of 'int main()'
int main()
^
0_0_17200807_32591.cpp:18:5: note: 'int main()' previously defined here
int main()
^
0_0_17200807_32591.cpp: At global scope:
0_0_17200807_32591.cpp:152:11: error: redefinition of 'const int maxn'
const int maxn = 10000+10;
^
0_0_17200807_32591.cpp:7:11: note: 'const int maxn' previously defined here
const int maxn = 110;
^
0_0_17200807_32591.cpp:156:5: error: redefinition of 'int n'
int n,t,k;
^
0_0_17200807_32591.cpp:10:5: note: 'int n' previously declared here
int n,m;
^
0_0_17200807_32591.cpp:156:7: error: conflicting declaration 'int t'
int n,t,k;
^
0_0_17200807_32591.cpp:16:2: note: previous declaration as 'Node t [110]'
}t[maxn];
^
0_0_17200807_32591.cpp: In function 'int main()':
0_0_17200807_32591.cpp:171:5: error: redefinition of 'int main()'
int main()
^
0_0_17200807_32591.cpp:18:5: note: 'int main()' previously defined here
int main()
^
0_0_17200807_32591.cpp:181:21: error: invalid conversion from 'Node*' to 'int' [-fpermissive]
int temp = mul(k,t);
^
0_0_17200807_32591.cpp:158:5: note: initializing argument 2 of 'int mul(int, int)'
int mul(int m,int n)//m^n
^
0_0_17200807_32591.cpp:188:4: error: invalid operands of types 'Node [110]' and 'int' to binary 'operator%'
t%=n;
^
0_0_17200807_32591.cpp:188:4: error: in evaluation of 'operator%=(struct Node [110], int)'
0_0_17200807_32591.cpp:190:13: error: invalid operands of types 'int' and 'Node [110]' to binary 'operator-'
int x =(n-t+1) ;
^
0_0_17200807_32591.cpp: At global scope:
0_0_17200807_32591.cpp:237:5: error: redefinition of 'int m'
int m;
^
0_0_17200807_32591.cpp:10:7: note: 'int m' previously declared here
int n,m;
^
0_0_17200807_32591.cpp: In function 'int main()':
0_0_17200807_32591.cpp:262:5: error: redefinition of 'int main()'
int main()
^
0_0_17200807_32591.cpp:18:5: note: 'int main()' previously defined here
int main()
^
0_0_17200807_32591.cpp: In function 'int main()':
0_0_17200807_32591.cpp:288:5: error: redefinition of 'int main()'
int main()
^
0_0_17200807_32591.cpp:18:5: note: 'int main()' previously defined here
int main()
^
|