0_0_30160177_26795.cpp: In function 'long long int calc(int, int, int)':
0_0_30160177_26795.cpp:106:19: error: 'T' was not declared in this scope
for(int i=0;i<T;++i) c1[i] += n/T+(n%T>=i);
^
0_0_30160177_26795.cpp:107:19: error: 'T' was not declared in this scope
for(int i=0;i<T;++i) c2[i] += m/T+(m%T>=i);
^
0_0_30160177_26795.cpp:109:17: error: 'T' was not declared in this scope
error(n, m, T)
^
0_0_30160177_26795.cpp:13:152: note: in definition of macro 'error'
#define error(args...) { string _s = #args; replace(_s.begin(), _s.end(), ',', ' '); stringstream _ss(_s); istream_iterator<string> _it(_ss); err(_it, args); }
^
0_0_30160177_26795.cpp:110:19: error: 'T' was not declared in this scope
for(int i=0;i<T;++i)
^
0_0_30160177_26795.cpp: In function 'long long int solve(int, int, int, int)':
0_0_30160177_26795.cpp:146:31: error: 'China' was not declared in this scope
int mo = China(tot, ta, tb);error(mo, T, calc(r-1, u-1, mo))
^
0_0_30160177_26795.cpp:146:43: error: 'T' was not declared in this scope
int mo = China(tot, ta, tb);error(mo, T, calc(r-1, u-1, mo))
^
0_0_30160177_26795.cpp:13:152: note: in definition of macro 'error'
#define error(args...) { string _s = #args; replace(_s.begin(), _s.end(), ',', ' '); stringstream _ss(_s); istream_iterator<string> _it(_ss); err(_it, args); }
^
0_0_30160177_26795.cpp: In function 'int main()':
0_0_30160177_26795.cpp:158:37: error: 'T' was not declared in this scope
int m;scanf("%d%d", &n, &m);T=1;
^
|