Submission #600287

#TimeUsernameProblemLanguageResultExecution timeMemory
600287MilosMilutinovicReversing a Sequence (IOI16_reverse)C++14
100 / 100
35 ms5888 KiB
/**
 *    author:  wxhtzdy
 *    created: 20.07.2022 18:22:42
**/
#include "reverse.h"

std::vector<long long> reverse(std::vector<long long> a) {
  int n = a.size();
  std::vector<long long> b(n);
  for (int i = 0; i < n; i++) {
    b[i] = a[n - i - 1];
  }
  return b;
}
#Verdict Execution timeMemoryGrader output
Fetching results...