Submission #564498

# Submission time Handle Problem Language Result Execution time Memory
564498 2022-05-19T09:58:41 Z 1zaid1 Question (Grader is different from the original contest) (CEOI14_question_grader) C++17
0 / 100
1892 ms 24108 KB
#include<bits/stdc++.h>
using namespace std;
int encode (int n, int x, int y) {
    for (int i = 1; i <= 20; i++) {
        if ((x%i)%2 == 0 && (y%i)%2 == 1) return i;
    } return 1;
}
#include<bits/stdc++.h>
using namespace std;
int decode (int n, int q, int h) {
	if ((q%h)%2 == 0) return 1;
	else return 0;
}
# Verdict Execution time Memory Grader output
1 Incorrect 1892 ms 24108 KB wrong answer
2 Incorrect 1855 ms 24092 KB wrong answer