제출 #92610

#제출 시각아이디문제언어결과실행 시간메모리
92610BadralPaint By Numbers (IOI16_paint)C++17
7 / 100
2 ms400 KiB
#include<bits/stdc++.h> using namespace std; int a[1000005]; string solve_puzzle(string s, vector<int> c) { int k = c[0]; for(int i = 0; i < k; i++) a[i]++; for(int i = (int)s.size(); i >= (int)s.size()-k; i--) a[i]++; string sss; for(int i = 0; i < (int)s.size(); i++) { if(a[i] == 2) sss += 'X'; else sss += '?'; } return sss; }
#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...