0_0_25255920_13231.cpp: In function 'void dfs(int, int, int, int, int)':
0_0_25255920_13231.cpp:5:9: error: 'p' was not declared in this scope
p=1;
^
0_0_25255920_13231.cpp:11:12: error: 'p' was not declared in this scope
if(p) return ;
^
0_0_25255920_13231.cpp:15:13: error: 'b' was not declared in this scope
if(!b[i]&&a[i]+l<=t)
^
0_0_25255920_13231.cpp:15:19: error: 'a' was not declared in this scope
if(!b[i]&&a[i]+l<=t)
^
0_0_25255920_13231.cpp:19:16: error: 'p' was not declared in this scope
if(p) return ;
^
0_0_25255920_13231.cpp: In function 'int main()':
0_0_25255920_13231.cpp:28:5: error: 'cin' was not declared in this scope
cin>>n;
^
0_0_25255920_13231.cpp:31:16: error: 'b' was not declared in this scope
memset(b,0,sizeof(b));
^
0_0_25255920_13231.cpp:31:29: error: 'memset' was not declared in this scope
memset(b,0,sizeof(b));
^
0_0_25255920_13231.cpp:32:16: error: 'a' was not declared in this scope
memset(a,0,sizeof(a));
^
0_0_25255920_13231.cpp:33:9: error: 'p' was not declared in this scope
p = 0;
^
0_0_25255920_13231.cpp:41:31: error: 'max' was not declared in this scope
maxn=max(a[i],maxn);
^
0_0_25255920_13231.cpp:44:21: error: 'cout' was not declared in this scope
if(ans%4!=0)cout<<"no"<<endl;
^
0_0_25255920_13231.cpp:44:33: error: 'endl' was not declared in this scope
if(ans%4!=0)cout<<"no"<<endl;
^
0_0_25255920_13231.cpp:45:30: error: 'cout' was not declared in this scope
else if((ans/4)<maxn)cout<<"no"<<endl;
^
0_0_25255920_13231.cpp:45:42: error: 'endl' was not declared in this scope
else if((ans/4)<maxn)cout<<"no"<<endl;
^
0_0_25255920_13231.cpp:50:18: error: 'cout' was not declared in this scope
if(p)cout<<"yes"<<endl;
^
0_0_25255920_13231.cpp:50:31: error: 'endl' was not declared in this scope
if(p)cout<<"yes"<<endl;
^
0_0_25255920_13231.cpp:51:18: error: 'cout' was not declared in this scope
else cout<<"no"<<endl;
^
0_0_25255920_13231.cpp:51:30: error: 'endl' was not declared in this scope
else cout<<"no"<<endl;
^
|