Submission #564620

#TimeUsernameProblemLanguageResultExecution timeMemory
564620shrimbQuestion (Grader is different from the original contest) (CEOI14_question_grader)C++17
0 / 100
0 ms420 KiB
#include"bits/stdc++.h"
using namespace std;
int encode (int n, int x, int y) {
    return x % 5 + x % 7 + x % 3;
}
#include"bits/stdc++.h"
using namespace std;
int decode (int n, int q, int h) {
	if (q % 5 + q % 7 + q % 3 == h) return 1;
	else return 0;
}
#Verdict Execution timeMemoryGrader output
Fetching results...