0_0_30335676_18829.cpp:1:1: error: 'include' does not name a type
include<iostream>
^
0_0_30335676_18829.cpp: In function 'int main()':
0_0_30335676_18829.cpp:7:11: error: 'cin' was not declared in this scope
while(cin>>n && n){
^
0_0_30335676_18829.cpp:10:13: error: 'cout' was not declared in this scope
cout<<-1<<endl; //总数非偶数
^
0_0_30335676_18829.cpp:10:23: error: 'endl' was not declared in this scope
cout<<-1<<endl; //总数非偶数
^
0_0_30335676_18829.cpp:19:13: error: 'cout' was not declared in this scope
cout<<-1<<endl; //H个数非偶数
^
0_0_30335676_18829.cpp:19:23: error: 'endl' was not declared in this scope
cout<<-1<<endl; //H个数非偶数
^
0_0_30335676_18829.cpp:23:13: error: 'cout' was not declared in this scope
cout<<1<<endl<<n/2<<endl;
^
0_0_30335676_18829.cpp:23:22: error: 'endl' was not declared in this scope
cout<<1<<endl<<n/2<<endl;
^
0_0_30335676_18829.cpp:30:17: error: 'cout' was not declared in this scope
cout<<2<<endl<<i<<" "<<i+n/2<<endl;
^
0_0_30335676_18829.cpp:30:26: error: 'endl' was not declared in this scope
cout<<2<<endl<<i<<" "<<i+n/2<<endl;
^
|