0_0_30094390_30122.cpp: In function 'int main()':
0_0_30094390_30122.cpp:4:8: error: 'cin' was not declared in this scope
while(cin>>S>>N>>M){
^
0_0_30094390_30122.cpp:8:5: error: 'cout' was not declared in this scope
cout<<"2";
^
0_0_30094390_30122.cpp:11:14: error: 'min' was not declared in this scope
if(min(N,M)==1){
^
0_0_30094390_30122.cpp:12:5: error: 'cout' was not declared in this scope
cout<<(S-min(N,M))/2*2+1<<endl;
^
0_0_30094390_30122.cpp:12:31: error: 'endl' was not declared in this scope
cout<<(S-min(N,M))/2*2+1<<endl;
^
0_0_30094390_30122.cpp:15:16: error: 'min' was not declared in this scope
if(S%min(N,M)==0&&(S/min(N,M))%2==0&&min(N,M)!=1){
^
0_0_30094390_30122.cpp:16:5: error: 'cout' was not declared in this scope
cout<<(S/2-min(N,M))/min(N,M)*2+1<<endl;
^
0_0_30094390_30122.cpp:16:40: error: 'endl' was not declared in this scope
cout<<(S/2-min(N,M))/min(N,M)*2+1<<endl;
^
0_0_30094390_30122.cpp:19:4: error: 'cout' was not declared in this scope
cout<<"NO"<<endl;
^
0_0_30094390_30122.cpp:19:16: error: 'endl' was not declared in this scope
cout<<"NO"<<endl;
^
0_0_30094390_30122.cpp:21:13: error: 'cout' was not declared in this scope
if(S%2!=0)cout<<"NO"<<endl;
^
0_0_30094390_30122.cpp:21:25: error: 'endl' was not declared in this scope
if(S%2!=0)cout<<"NO"<<endl;
^
|