Submission #717651

#TimeUsernameProblemLanguageResultExecution timeMemory
717651AndrijaMMemory (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; bool vis[55]={0}; map<char,int>m; for(int i=1;i<=50;i++) { a=faceup(i); vis[i]=true; if(m[a]!=0) { faceup(m[a]); } } }

Compilation message (stderr)

memory.cpp: In function 'void play()':
memory.cpp:8:12: warning: unused variable 'b' [-Wunused-variable]
    8 |    char a, b;
      |            ^
memory.cpp:9:9: warning: variable 'vis' set but not used [-Wunused-but-set-variable]
    9 |    bool vis[55]={0};
      |         ^~~
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...