# | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
232900 | 2020-05-18T16:02:57 Z | Zex | Memory (IOI10_memory) | C++11 | 5 ms | 256 KB |
#include "grader.h" #include "memory.h" void play() { int IDX1[25] = {}; int IDX2[25] = {}; for(int i=1;i<=50;i++){ char ch = faceup(i); int x = ch - 'A'; if( !IDX1[x] ) IDX1[x] = i; else IDX2[x] = i; } for(int i=0;i<26;i++){ faceup( IDX1[i] ); faceup( IDX2[i] ); } }
# | 결과 | 실행 시간 | 메모리 | Grader output |
---|---|---|---|---|
1 | Incorrect | 5 ms | 256 KB | Incorrect |
2 | Halted | 0 ms | 0 KB | - |
# | 결과 | 실행 시간 | 메모리 | Grader output |
---|---|---|---|---|
1 | Incorrect | 5 ms | 256 KB | Incorrect |
2 | Halted | 0 ms | 0 KB | - |