Submission #477053

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

Compilation message (stderr)

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