Submission #718138

#TimeUsernameProblemLanguageResultExecution timeMemory
718138mseebacherSplit the Attractions (IOI19_split)C++17
0 / 100
39 ms4648 KiB
#include "split.h" #include <bits/stdc++.h> using namespace std; vector<int> find_split(int n, int a, int b, int c, vector<int> p, vector<int> q) { vector<int> res(n,0); for(int i = 0;i<a;i++){ res[i] = 1; } for(int i = a;i<a+b;i++){ res[i] = 2; } for(int i = a+b;i<n;i++){ res[i] = 3; } return res; }
#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...