0_0_16243920_5908.cpp: In function 'int main()':
0_0_16243920_5908.cpp:4:27: error: 'n' was not declared in this scope
while(scanf("%d%d%d",&n,&k,&m)==3){
^
0_0_16243920_5908.cpp:4:30: error: 'k' was not declared in this scope
while(scanf("%d%d%d",&n,&k,&m)==3){
^
0_0_16243920_5908.cpp:4:33: error: 'm' was not declared in this scope
while(scanf("%d%d%d",&n,&k,&m)==3){
^
0_0_16243920_5908.cpp:4:34: error: 'scanf' was not declared in this scope
while(scanf("%d%d%d",&n,&k,&m)==3){
^
0_0_16243920_5908.cpp:6:13: error: 'rate' was not declared in this scope
rate[i]=-1;
^
0_0_16243920_5908.cpp:7:13: error: 'company' was not declared in this scope
company[i]=i;
^
0_0_16243920_5908.cpp:8:13: error: 'father' was not declared in this scope
father[i]=i;
^
0_0_16243920_5908.cpp:9:13: error: 'deep' was not declared in this scope
deep[i]=0;
^
0_0_16243920_5908.cpp:15:24: error: 'updatec' was not declared in this scope
updatec(r,c);
^
0_0_16243920_5908.cpp:25:34: error: 'findp' was not declared in this scope
int c=findp(y);
^
0_0_16243920_5908.cpp:26:24: error: 'company' was not declared in this scope
if(company[c]==y){
^
0_0_16243920_5908.cpp:27:36: error: 'updatec' was not declared in this scope
updatec(x,y);
^
0_0_16243920_5908.cpp:28:42: error: 'printf' was not declared in this scope
printf("Accept\n");
^
0_0_16243920_5908.cpp:30:42: error: 'printf' was not declared in this scope
printf("Reject\n");
^
0_0_16243920_5908.cpp:36:35: error: 'findp' was not declared in this scope
int c1=findp(x);
^
0_0_16243920_5908.cpp:38:24: error: 'company' was not declared in this scope
if(company[c1]==x&&company[c2]==y){
^
0_0_16243920_5908.cpp:39:35: error: 'unionc' was not declared in this scope
unionc(x,y);
^
0_0_16243920_5908.cpp:40:42: error: 'printf' was not declared in this scope
printf("Accept\n");
^
0_0_16243920_5908.cpp:42:42: error: 'printf' was not declared in this scope
printf("Reject\n");
^
0_0_16243920_5908.cpp:48:34: error: 'findp' was not declared in this scope
int c=findp(x);
^
0_0_16243920_5908.cpp:49:24: error: 'company' was not declared in this scope
if(company[c]==x){
^
0_0_16243920_5908.cpp:50:28: error: 'rate' was not declared in this scope
if(rate[x]!=-1){
^
0_0_16243920_5908.cpp:51:64: error: 'printf' was not declared in this scope
printf("Lowest rate: %d.\n",rate[x]);
^
0_0_16243920_5908.cpp:53:62: error: 'printf' was not declared in this scope
printf("Company %d is empty.\n",x);
^
0_0_16243920_5908.cpp:56:84: error: 'printf' was not declared in this scope
printf("Company %d is a part of company %d.\n",x,company[c]);
^
|