Submission #839724

#TimeUsernameProblemLanguageResultExecution timeMemory
839724model_codeLongest Trip (IOI23_longesttrip)C++17
5 / 100
5 ms256 KiB
// correct/solution-subtask1.cpp #include "longesttrip.h" #include <algorithm> #include <random> std::vector<int> longest_trip(int N, int /*D*/) { srand(time(0)); std::vector<int> vec(N); for (int i = 0; i < N; i++) vec[i] = i; random_shuffle(vec.begin(), vec.end()); return vec; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...