# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
564622 | shrimb | Question (Grader is different from the original contest) (CEOI14_question_grader) | C++17 | 1 ms | 544 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) {
return (x-1) % 5 + (x+1) % 7 + (x-1) % 3;
}
#include"bits/stdc++.h"
using namespace std;
int decode (int n, int q, int h) {
if ((q-1) % 5 + (q+1) % 7 + (q-1) % 3 == h) return 1;
else return 0;
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |