Submission #892970

#TimeUsernameProblemLanguageResultExecution timeMemory
892970LCJLYMemory (IOI10_memory)C++14
100 / 100
1 ms600 KiB
#include "grader.h" #include "memory.h" #include <bits/stdc++.h> using namespace std; void play() { vector<int>storage[30]; for(int x=1;x<=50;x++){ int temp=faceup(x)-'A'; storage[temp].push_back(x); } for(int x=0;x<25;x++){ for(auto it:storage[x]){ int a=faceup(it)-'A'; } } }

Compilation message (stderr)

memory.cpp: In function 'void play()':
memory.cpp:15:8: warning: unused variable 'a' [-Wunused-variable]
   15 |    int a=faceup(it)-'A';
      |        ^
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...