0_0_34163807_32151.cpp: In function 'void init()':
0_0_34163807_32151.cpp:6:8: error: 'girls' was not declared in this scope
memset(girls,-1,sizeof(girls));
^
0_0_34163807_32151.cpp:7:8: error: 'boys' was not declared in this scope
memset(boys,-1,sizeof(boys));
^
0_0_34163807_32151.cpp:8:8: error: 'match' was not declared in this scope
memset(match,0,sizeof(match));
^
0_0_34163807_32151.cpp: In function 'int can(int)':
0_0_34163807_32151.cpp:13:12: error: 'b' was not declared in this scope
for(i=1;i<=b;i++)
^
0_0_34163807_32151.cpp:15:5: error: 'used' was not declared in this scope
if(!used[i]&&match[t][i])
^
0_0_34163807_32151.cpp:15:14: error: 'match' was not declared in this scope
if(!used[i]&&match[t][i])
^
0_0_34163807_32151.cpp:18:4: error: 'girls' was not declared in this scope
if(girls[i]==-1||can(girls[i]))
^
0_0_34163807_32151.cpp:20:1: error: 'boys' was not declared in this scope
boys[t]=i;
^
0_0_34163807_32151.cpp: In function 'int main()':
0_0_34163807_32151.cpp:31:19: error: 'a' was not declared in this scope
while(scanf("%d",&a),a)
^
0_0_34163807_32151.cpp:33:15: error: 'b' was not declared in this scope
scanf("%d%d",&b,&k);
^
0_0_34163807_32151.cpp:38:1: error: 'match' was not declared in this scope
match[x][y]=1;
^
0_0_34163807_32151.cpp:43:4: error: 'boys' was not declared in this scope
if(boys[i]==-1)
^
0_0_34163807_32151.cpp:45:8: error: 'used' was not declared in this scope
memset(used,0,sizeof(used));
^
|