제출 #717655

#제출 시각아이디문제언어결과실행 시간메모리
717655AndrijaMMemory (IOI10_memory)C++14
0 / 100
1 ms208 KiB
#include "grader.h"
#include "memory.h"
#include <bits/stdc++.h>

using namespace std;

void play() {
   char a, b;
   map<char,int>m;
   for(int i=1;i<=50;i++)
   {
       a=faceup(i);
       if(m[a]!=0)
       {
           faceup(m[a]);
       }
       else
       {
           m[a]=i;
       }
   }
}

컴파일 시 표준 에러 (stderr) 메시지

memory.cpp: In function 'void play()':
memory.cpp:8:12: warning: unused variable 'b' [-Wunused-variable]
    8 |    char a, b;
      |            ^
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...