0_0_23424768_15018.cpp: In function 'int main()':
0_0_23424768_15018.cpp:8:11: error: 'cin' was not declared in this scope
while(cin>>n){
^
0_0_23424768_15018.cpp:20:3: error: 'cout' was not declared in this scope
cout << ans << endl;
^
0_0_23424768_15018.cpp:20:18: error: 'endl' was not declared in this scope
cout << ans << endl;
^
|