제출 #341794

#제출 시각아이디문제언어결과실행 시간메모리
341794marvenleeMemory (IOI10_memory)C++14
0 / 100
1 ms384 KiB
#include "grader.h"
#include "memory.h"
#include <map>
using namespace std;

void play() {
   int i;
   char a, b;
   map<char,int> mp;
   for (i=1; i<=50; i++){

        a = faceup(i);
        if(mp.find(a)!=mp.end()){
            b = faceup(mp.find(a)->second);
        }
        else {
            mp[a]=i;
            i+=1;
            b= faceup(i);
            mp[b]=i;
        }

   }

}
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...