0_0_31934606_20529.cpp: In function 'int main()':
0_0_31934606_20529.cpp:12:9: error: 'cin' was not declared in this scope
while(cin>>n)
^
0_0_31934606_20529.cpp:17:21: error: 'sort' was not declared in this scope
sort(arr,arr+n);
^
0_0_31934606_20529.cpp:24:5: error: 'cout' was not declared in this scope
cout<<sum<<endl;
^
|