0_0_17697621_20910.cpp: In function 'int main()':
0_0_17697621_20910.cpp:4:16: error: 'n' was not declared in this scope
scanf("%d%d",&n,&m);
^
0_0_17697621_20910.cpp:4:19: error: 'm' was not declared in this scope
scanf("%d%d",&n,&m);
^
0_0_17697621_20910.cpp:5:7: error: 'i' was not declared in this scope
for (i=1;i<=n;i++)
^
0_0_17697621_20910.cpp:6:16: error: 'l' was not declared in this scope
scanf("%d%d",&l[i],&r[i]);
^
0_0_17697621_20910.cpp:6:22: error: 'r' was not declared in this scope
scanf("%d%d",&l[i],&r[i]);
^
0_0_17697621_20910.cpp:7:7: error: 'i' was not declared in this scope
for (i=0;i<n;i++)
^
0_0_17697621_20910.cpp:8:7: error: 'j' was not declared in this scope
for (j=0;j<n;j++)
^
0_0_17697621_20910.cpp:9:2: error: 'f' was not declared in this scope
f[o(i,j)]=o(i,j);
^
0_0_17697621_20910.cpp:9:9: error: 'o' was not declared in this scope
f[o(i,j)]=o(i,j);
^
0_0_17697621_20910.cpp:10:7: error: 'i' was not declared in this scope
for (i=1;i<=m;i++)
^
0_0_17697621_20910.cpp:12:19: error: 'a' was not declared in this scope
scanf("%d%d%d",&a,&b,&c);
^
0_0_17697621_20910.cpp:12:22: error: 'b' was not declared in this scope
scanf("%d%d%d",&a,&b,&c);
^
0_0_17697621_20910.cpp:12:25: error: 'c' was not declared in this scope
scanf("%d%d%d",&a,&b,&c);
^
0_0_17697621_20910.cpp:15:3: error: 'f' was not declared in this scope
f[o(a,b)]=n*n;
^
0_0_17697621_20910.cpp:15:10: error: 'o' was not declared in this scope
f[o(a,b)]=n*n;
^
0_0_17697621_20910.cpp:17:3: error: 'f' was not declared in this scope
f[o(a,b)]=n*n+1;
^
0_0_17697621_20910.cpp:17:10: error: 'o' was not declared in this scope
f[o(a,b)]=n*n+1;
^
0_0_17697621_20910.cpp:18:3: error: 's' was not declared in this scope
s[++tot]=o(a,b);
^
0_0_17697621_20910.cpp:18:7: error: 'tot' was not declared in this scope
s[++tot]=o(a,b);
^
0_0_17697621_20910.cpp:18:17: error: 'o' was not declared in this scope
s[++tot]=o(a,b);
^
0_0_17697621_20910.cpp:20:7: error: 'i' was not declared in this scope
for (i=1;i<=tot;i++)
^
0_0_17697621_20910.cpp:20:14: error: 'tot' was not declared in this scope
for (i=1;i<=tot;i++)
^
0_0_17697621_20910.cpp:21:7: error: 'j' was not declared in this scope
for (j=1;j<i;j++)
^
0_0_17697621_20910.cpp:23:3: error: 'a1' was not declared in this scope
a1=s[i]/n;b1=s[i]%n;
^
0_0_17697621_20910.cpp:23:6: error: 's' was not declared in this scope
a1=s[i]/n;b1=s[i]%n;
^
0_0_17697621_20910.cpp:23:13: error: 'b1' was not declared in this scope
a1=s[i]/n;b1=s[i]%n;
^
0_0_17697621_20910.cpp:24:3: error: 'a2' was not declared in this scope
a2=s[j]/n;b2=s[j]%n;
^
0_0_17697621_20910.cpp:24:13: error: 'b2' was not declared in this scope
a2=s[j]/n;b2=s[j]%n;
^
|