0_0_26520879_1074.cpp:15:31: error: stray '#' in program
using namespace std; #define loop(i,u,v) for(int i = u;i <= v;i++) #define rloop(i,u,v) for(int i = u;i >
^
0_0_26520879_1074.cpp:15:77: error: stray '#' in program
using namespace std; #define loop(i,u,v) for(int i = u;i <= v;i++) #define rloop(i,u,v) for(int i = u;i >
^
0_0_26520879_1074.cpp:16:18: error: stray '#' in program
= v;i--) #define eps 0.00000001 void reverse(char *a) { char *first = &a[0]; char *last = &a[strlen(a)-1]; for(;first < last ; first++,last--) { char x = *first; *first = *last; *last = x; } } int main() { string a,b,c,d; int num[1100]; int n; cin >> n; loop(i,1,n) { memset(num,0,sizeof(num)); cin >> a >> b; c = a; d = b; reverse(&a[0]); reverse(&b[0]); int la = a.size(); int lb = b.size(); int lmin = min(la,lb); int lmax = max(la,lb); int x = 0; int last = lmin - 1; if(lb >
^
0_0_26520879_1074.cpp:15:32: error: 'define' does not name a type
using namespace std; #define loop(i,u,v) for(int i = u;i <= v;i++) #define rloop(i,u,v) for(int i = u;i >
^
0_0_26520879_1074.cpp:15:65: error: 'i' does not name a type
using namespace std; #define loop(i,u,v) for(int i = u;i <= v;i++) #define rloop(i,u,v) for(int i = u;i >
^
0_0_26520879_1074.cpp:15:72: error: 'i' does not name a type
using namespace std; #define loop(i,u,v) for(int i = u;i <= v;i++) #define rloop(i,u,v) for(int i = u;i >
^
0_0_26520879_1074.cpp:15:112: error: 'i' does not name a type
using namespace std; #define loop(i,u,v) for(int i = u;i <= v;i++) #define rloop(i,u,v) for(int i = u;i >
^
0_0_26520879_1074.cpp:16:13: error: 'i' does not name a type
= v;i--) #define eps 0.00000001 void reverse(char *a) { char *first = &a[0]; char *last = &a[strlen(a)-1]; for(;first < last ; first++,last--) { char x = *first; *first = *last; *last = x; } } int main() { string a,b,c,d; int num[1100]; int n; cin >> n; loop(i,1,n) { memset(num,0,sizeof(num)); cin >> a >> b; c = a; d = b; reverse(&a[0]); reverse(&b[0]); int la = a.size(); int lb = b.size(); int lmin = min(la,lb); int lmax = max(la,lb); int x = 0; int last = lmin - 1; if(lb >
^
0_0_26520879_1074.cpp: In function 'int main()':
0_0_26520879_1074.cpp:16:268: error: 'i' was not declared in this scope
= v;i--) #define eps 0.00000001 void reverse(char *a) { char *first = &a[0]; char *last = &a[strlen(a)-1]; for(;first < last ; first++,last--) { char x = *first; *first = *last; *last = x; } } int main() { string a,b,c,d; int num[1100]; int n; cin >> n; loop(i,1,n) { memset(num,0,sizeof(num)); cin >> a >> b; c = a; d = b; reverse(&a[0]); reverse(&b[0]); int la = a.size(); int lb = b.size(); int lmin = min(la,lb); int lmax = max(la,lb); int x = 0; int last = lmin - 1; if(lb >
^
0_0_26520879_1074.cpp:16:273: error: 'loop' was not declared in this scope
= v;i--) #define eps 0.00000001 void reverse(char *a) { char *first = &a[0]; char *last = &a[strlen(a)-1]; for(;first < last ; first++,last--) { char x = *first; *first = *last; *last = x; } } int main() { string a,b,c,d; int num[1100]; int n; cin >> n; loop(i,1,n) { memset(num,0,sizeof(num)); cin >> a >> b; c = a; d = b; reverse(&a[0]); reverse(&b[0]); int la = a.size(); int lb = b.size(); int lmin = min(la,lb); int lmax = max(la,lb); int x = 0; int last = lmin - 1; if(lb >
^
|