# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
132846 | reda | Paint By Numbers (IOI16_paint) | C++14 | 0 ms | 0 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include<bits/stdc++.h>
using namespace std ;
void solve_puzzle(int n, string s, int k, int c[], string result)
{
for(int i=0;i<c[0];i++)
{
s[i]='X';
}
for(int i=c[0];i<n;i++)
s[i]='_';
result=s;
}