# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
312589 | 2020-10-13T20:28:49 Z | sofapuden | Bali Sculptures (APIO15_sculpture) | C++14 | 0 ms | 0 KB |
#include <bits/stdc++.h> using namespace std; int main(){ int n, a, b; cin >> n >> a >> b; if(a == 1){ ll sum = 0; for(int i = 0; i < n; ++i){ int tm; cin >> tm; sum+=tm; } cout << sum << "\n"; } }