제출 #564623

#제출 시각아이디문제언어결과실행 시간메모리
564623shrimbQuestion (Grader is different from the original contest) (CEOI14_question_grader)C++17
0 / 100
1875 ms24184 KiB
#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 + 1; }
#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 - 1) return 1; else return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...