# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
586129 | tamthegod | Unscrambling a Messy Bug (IOI16_messy) | 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 <vector>
#include "messy.h"
std::vector<int> restore_permutation(int n, int w, int r) {
string s;
for(int i=1; i<=n; i++) s += '0';
for(int i=1; i<=n; i++)
{
s[i - 1] = '1';
add_element(s);
}
add_element("0");
compile_set();
check_element("0");
return std::vector<int>();
}