Submission #965571

# Submission time Handle Problem Language Result Execution time Memory
965571 2024-04-18T22:42:34 Z AdamGS Reversing a Sequence (IOI16_reverse) C++17
100 / 100
25 ms 5972 KB
#include "reverse.h"
#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
#define rep(a, b) for(int a = 0; a < (b); ++a)
#define st first
#define nd second
#define pb push_back
#define all(a) a.begin(), a.end()
vector<ll>reverse(vector<ll>a) {
  reverse(all(a));
  return a;
}
# Verdict Execution time Memory Grader output
1 Correct 0 ms 348 KB Output is correct
2 Correct 0 ms 348 KB Output is correct
3 Correct 1 ms 348 KB Output is correct
4 Correct 0 ms 344 KB Output is correct
5 Correct 0 ms 348 KB Output is correct
6 Correct 1 ms 348 KB Output is correct
7 Correct 1 ms 448 KB Output is correct
8 Correct 3 ms 856 KB Output is correct
9 Correct 11 ms 2140 KB Output is correct
10 Correct 25 ms 5972 KB Output is correct