Submission #633810

#TimeUsernameProblemLanguageResultExecution timeMemory
633810ZflopMemory (IOI10_memory)C++14
0 / 100
1 ms336 KiB
#include "memory.h" #include "grader.h" #include <stdio.h> #include <stdlib.h> #include <vector> #include <set> void play() { int i; char b; std :: vector <std :: set<int>> A(24); for(int i = 1; i <= 50;++i){ b = faceup(i); A[b - 'A'].insert(i); } for(auto& x:A){ faceup(*x.begin()); faceup(*x.rbegin()); } return; }

Compilation message (stderr)

memory.cpp: In function 'void play()':
memory.cpp:9:8: warning: unused variable 'i' [-Wunused-variable]
    9 |    int i;
      |        ^
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...