0_0_29944089_24732.cpp: In function 'int main()':
0_0_29944089_24732.cpp:12:10: error: 'cin' was not declared in this scope
while(cin>>n){
^
0_0_29944089_24732.cpp:16:19: error: 'cout' was not declared in this scope
if (n%2!=0){ cout<<-1<<endl; continue; }
^
0_0_29944089_24732.cpp:16:29: error: 'endl' was not declared in this scope
if (n%2!=0){ cout<<-1<<endl; continue; }
^
0_0_29944089_24732.cpp:23:19: error: 'cout' was not declared in this scope
if (h%2!=0){ cout<<-1<<endl; continue; }
^
0_0_29944089_24732.cpp:23:29: error: 'endl' was not declared in this scope
if (h%2!=0){ cout<<-1<<endl; continue; }
^
0_0_29944089_24732.cpp:26:12: error: 'cout' was not declared in this scope
cout<<n/2<<endl; //题目要求在第几个切,是从一开始
^
0_0_29944089_24732.cpp:26:23: error: 'endl' was not declared in this scope
cout<<n/2<<endl; //题目要求在第几个切,是从一开始
^
0_0_29944089_24732.cpp:37:6: error: 'cout' was not declared in this scope
cout<<i<<i+n/2<<endl;
^
0_0_29944089_24732.cpp:37:22: error: 'endl' was not declared in this scope
cout<<i<<i+n/2<<endl;
^
|