# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1173388 | ezzzay | Feast (NOI19_feast) | C++20 | 0 ms | 0 KiB |
#include<bits/stdc++.h>
using namespace std;
#define ff first
#define ss second
#define pb push_back
#define int long long
const int N=6
signed main(){
int n,k;
cin>>n>>k;
int s=0;
for(int i=1;i<=n;i++){
int a;
cin>>a;
s+=a;
}
cout<<s;
}