Submission #477102

#TimeUsernameProblemLanguageResultExecution timeMemory
477102glomeMemory (IOI10_memory)C++17
50 / 100
4 ms328 KiB
#include "grader.h" #include "memory.h" #include<bits/stdc++.h> using namespace std; void play() { map<char, vector<int>> m; char firs; for (int i = 2; i<=50; i++) { char f = faceup(1), s = faceup(i); m[s].push_back(i); firs = f; } for (char i = 'A'; i<='Y'; i++) { if(i == firs) { continue; } char a = faceup(m[i][0]); char b = faceup(m[i][1]); } return; }

Compilation message (stderr)

memory.cpp: In function 'void play()':
memory.cpp:17:10: warning: unused variable 'a' [-Wunused-variable]
   17 |     char a = faceup(m[i][0]);
      |          ^
memory.cpp:18:10: warning: unused variable 'b' [-Wunused-variable]
   18 |     char b = faceup(m[i][1]);
      |          ^
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...