Submission #938556

#TimeUsernameProblemLanguageResultExecution timeMemory
938556LilypadFeast (NOI19_feast)C++14
0 / 100
96 ms4500 KiB
#include<bits/stdc++.h> using namespace std; #define ll int #define pii pair<ll,ll> #define pb push_back #define fi first #define se second const ll N = 3e5+3; ll n,k,sum,a[N]; int main() { cin >> n >> k; for(int i=1; i<=n; i++) { cin >> a[i]; sum += a[i]; } cout << sum << endl; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...