# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
564475 | MrDeboo | Question (Grader is different from the original contest) (CEOI14_question_grader) | C++17 | 3328 ms | 24228 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;
int encode (int n, int x, int y) {
if(x>n)x=0;
if(y>n)y=0;
string s;
string f=to_string(x);
while(f.size()<3)f="0"+f;
s+=f;
f=to_string(y);
while(f.size()<3)f="0"+f;
s+=f;
return stoi(s);
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |