Răspunsuri

Cel mai inteligent răspuns!
2014-06-08T14:05:02+03:00
#include<iostream>
using namespace std;
int main()
{int S=0,n,i;
cout<<"n=";cin>>n;
for(i=1;i<=n;i++)
  {cin>>i;
   S+=i;}
cout<<S;
return 0;
}

1 5 1