0_0_34579178_20916.cpp: In function 'int main()':
0_0_34579178_20916.cpp:5:2: error: 'cin' was not declared in this scope
cin>>t;
^
0_0_34579178_20916.cpp:9:11: error: 'cout' was not declared in this scope
if(n==1)cout<<1<<endl;
^
0_0_34579178_20916.cpp:9:20: error: 'endl' was not declared in this scope
if(n==1)cout<<1<<endl;
^
0_0_34579178_20916.cpp:10:16: error: 'cout' was not declared in this scope
else if(n==2)cout<<2<<endl;
^
0_0_34579178_20916.cpp:10:25: error: 'endl' was not declared in this scope
else if(n==2)cout<<2<<endl;
^
0_0_34579178_20916.cpp:11:16: error: 'cout' was not declared in this scope
else if(n==3)cout<<3<<endl;
^
0_0_34579178_20916.cpp:11:25: error: 'endl' was not declared in this scope
else if(n==3)cout<<3<<endl;
^
0_0_34579178_20916.cpp:12:16: error: 'cout' was not declared in this scope
else if(n==4)cout<<5<<endl;
^
0_0_34579178_20916.cpp:12:25: error: 'endl' was not declared in this scope
else if(n==4)cout<<5<<endl;
^
0_0_34579178_20916.cpp:21:4: error: 'cout' was not declared in this scope
cout<<sum[n]<<endl;
^
0_0_34579178_20916.cpp:21:18: error: 'endl' was not declared in this scope
cout<<sum[n]<<endl;
^
|