Submission #563172

# Submission time Handle Problem Language Result Execution time Memory
563172 2022-05-16T12:34:19 Z Kanten4205 Reversing a Sequence (IOI16_reverse) C++17
100 / 100
35 ms 5832 KB
#include <bits/stdc++.h>
using namespace std;
const long long MOD1 = 1000000007;
const long long MOD2 = 998244353;
typedef long long ll;
typedef pair<ll, ll> P;
const long long INF = 1e17;
vector<ll> reverse(vector<ll> A) {
    reverse(A.begin(), A.end());
    return A;
}
# Verdict Execution time Memory Grader output
1 Correct 1 ms 212 KB Output is correct
2 Correct 1 ms 300 KB Output is correct
3 Correct 1 ms 212 KB Output is correct
4 Correct 1 ms 212 KB Output is correct
5 Correct 1 ms 212 KB Output is correct
6 Correct 1 ms 212 KB Output is correct
7 Correct 2 ms 468 KB Output is correct
8 Correct 4 ms 828 KB Output is correct
9 Correct 11 ms 2076 KB Output is correct
10 Correct 35 ms 5832 KB Output is correct