Submission #739578

#TimeUsernameProblemLanguageResultExecution timeMemory
739578Abrar_Al_SamitPaint By Numbers (IOI16_paint)C++17
7 / 100
1 ms212 KiB
#include "paint.h" #include <bits/stdc++.h> using namespace std; string solve_puzzle(string s, vector<int> c) { int n = s.size(); string ret = string(n, '?'); for(int i=0; i<n; ++i) { if(c[0]-1>=i && n-c[0]<=i) ret[i] = 'X'; } return ret; }
#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...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...