Submission #47671

# Submission time Handle Problem Language Result Execution time Memory
47671 2018-05-06T08:23:11 Z grumpy_gordon Bali Sculptures (APIO15_sculpture) C++17
0 / 100
2 ms 916 KB
#include <bits/stdc++.h>

using namespace std;

typedef long long ll;

const int maxn = 1e6 + 100, inf = 1e9 + 100;

int main(){
  ios::sync_with_stdio(0);
  int n, L, R;
  ll s = 0;
  cin >> n >> L >> R;
  if (L == 1){
    while (n--){
      int x;
      cin >> x;
      s += x;
    }
    cout << s;
    return 0;
  }
}
# Verdict Execution time Memory Grader output
1 Incorrect 2 ms 504 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 2 ms 504 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 2 ms 672 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 2 ms 784 KB Output isn't correct
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 2 ms 916 KB Output isn't correct
2 Halted 0 ms 0 KB -