Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Gamer5262 committed Oct 26, 2022
1 parent ad146b2 commit 69e3005
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions c++/A_very_big_sum_#30.c++
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#include <bits\stdc++.h>
using namespace std;
int main()
{
ios_base::sync_with_stdio(false);
cin.tie(NULL);
int n;
cin >> n;
long long int arr[n];
long long int sum=0;
for (int i=0;i<n;i++){
cin >> arr[i];
sum+=arr[i];
}
cout << sum;
return 0;
}

0 comments on commit 69e3005

Please sign in to comment.