Submission #26811

#TimeUsernameProblemLanguageResultExecution timeMemory
26811baactreeQuestion (Grader is different from the original contest) (CEOI14_question_grader)C++14
0 / 100
1263 ms25672 KiB
int encode (int n, int x, int y) { int r=1; int mod=11; for(int i=0;i<9;i++){ r*=x; r%=mod; } return r+1; }
int decode (int n, int q, int h) { h--; if((h*q)%11==1) return 1; return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...