Submission #609593

#TimeUsernameProblemLanguageResultExecution timeMemory
609593sword060Paint By Numbers (IOI16_paint)C++17
7 / 100
1 ms300 KiB
#include <bits/stdc++.h> #include "paint.h" using namespace std; string solve_puzzle(string s, vector<int>c){ int x=s.size(); int lol[x+1]; for(int i=0;i<x;i++)lol[i]=0; for(int i=x-c[0];i<c[0];i++)lol[i]=1; string ans=""; for(int j=0;j<x;j++)ans+=(lol[j]?'X':'?'); return ans; }
#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...