Untitled
user_5811307
plain_text
2 years ago
193 B
4
Indexable
#include <iostream>
using namespace std;
int main()
{
int a, g=0;
cin >> a;
for (int i =0; i < a; i++){
int b;
cin >> b;
g += b;
}
cout <<g<<endl;
}Editor is loading...
Leave a Comment