Submission #847750

# Submission time Handle Problem Language Result Execution time Memory
847750 2023-09-10T10:20:13 Z Hydrolyzed Longest Trip (IOI23_longesttrip) C++17
5 / 100
3 ms 596 KB
#include <bits/stdc++.h>
#include "longesttrip.h"

using namespace std;

std::vector<int> longest_trip(int N, int D) {
  if (D == 3) {
    vector<int> res;
    for (int i = 0; i <= N - 1; ++i) {
      res.emplace_back(i);
    }
    return res;
  }
  return {};
}
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 344 KB Incorrect
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Correct 3 ms 344 KB Output is correct
2 Correct 1 ms 344 KB Output is correct
3 Correct 0 ms 344 KB Output is correct
4 Correct 1 ms 344 KB Output is correct
5 Correct 1 ms 344 KB Output is correct
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 344 KB Incorrect
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 344 KB Incorrect
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 596 KB Incorrect
2 Halted 0 ms 0 KB -