# | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
652613 | 2022-10-23T14:00:42 Z | MilosMilutinovic | 질문 (CEOI14_question_grader) | C++14 | 7000 ms | 2268 KB |
int encode(int n,int x,int y) { const int N=925; int ff[N][12]; int tsz=0; for (int i=0;i<(1<<12);i++) if (__builtin_popcount(i)==6) { ++tsz; for (int j=0;j<12;j++) if (i>>j&1) ff[tsz][j]=1; } for (int i=0;i<12;i++) if (ff[x][i]&&!ff[y][i]) return i+1; }
Compilation message
# | 결과 | 실행 시간 | 메모리 | Grader output |
---|---|---|---|---|
1 | Execution timed out | 7091 ms | 2172 KB | Time limit exceeded |
2 | Execution timed out | 7034 ms | 2268 KB | Time limit exceeded |