0_0_28760145_5153.cpp: In function 'int main()':
0_0_28760145_5153.cpp:17:8: error: 'cin' was not declared in this scope
while(cin>>p)
^
0_0_28760145_5153.cpp:19:23: error: 'memset' was not declared in this scope
memset(a,0,sizeof(a));
^
0_0_28760145_5153.cpp:43:7: error: 'cout' was not declared in this scope
else cout<<endl;//输出格式
^
0_0_28760145_5153.cpp:43:13: error: 'endl' was not declared in this scope
else cout<<endl;//输出格式
^
0_0_28760145_5153.cpp:47:12: error: 'cout' was not declared in this scope
if(g==1) cout<<a[i],g=2;
^
0_0_28760145_5153.cpp:48:8: error: 'cout' was not declared in this scope
else cout<<" "<<a[i];
^
|