0_0_38274984_12165.cpp: In function 'void cls()':
0_0_38274984_12165.cpp:7:33: error: 'sum' was not declared in this scope
memset(book,0,sizeof(book));sum=0;flag=false;
^
0_0_38274984_12165.cpp:7:39: error: 'flag' was not declared in this scope
memset(book,0,sizeof(book));sum=0;flag=false;
^
0_0_38274984_12165.cpp: In function 'int main()':
0_0_38274984_12165.cpp:15:25: error: 'a' was not declared in this scope
while(scanf("%d%d",&a,&b)==2)
^
0_0_38274984_12165.cpp:15:28: error: 'b' was not declared in this scope
while(scanf("%d%d",&a,&b)==2)
^
0_0_38274984_12165.cpp:18:42: error: 'flag' was not declared in this scope
if(a==0&&b==0) {printf("%c\n",((!flag&&sum==1)?'1':'0'));cls();continue;}
^
0_0_38274984_12165.cpp:18:48: error: 'sum' was not declared in this scope
if(a==0&&b==0) {printf("%c\n",((!flag&&sum==1)?'1':'0'));cls();continue;}
^
0_0_38274984_12165.cpp:19:22: error: 'sum' was not declared in this scope
if(!book[a]) sum++;
^
0_0_38274984_12165.cpp:20:22: error: 'sum' was not declared in this scope
if(!book[b]) sum++;
^
0_0_38274984_12165.cpp:23:16: error: 'x2' was not declared in this scope
if(x1==x2) flag=true;
^
0_0_38274984_12165.cpp:23:20: error: 'flag' was not declared in this scope
if(x1==x2) flag=true;
^
0_0_38274984_12165.cpp:24:15: error: 'sum' was not declared in this scope
else {sum--;f[x1]=x2;}
^
|