Submission #938562

#TimeUsernameProblemLanguageResultExecution timeMemory
938562LilypadFeast (NOI19_feast)C++14
4 / 100
103 ms5596 KiB
#include<bits/stdc++.h> using namespace std; #define ll long long #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...