(UPD: 2024-12-04 14:48 UTC) Judge is not working due to Cloudflare incident. (URL) We can do nothing about it, sorry. After the incident is resolved, we will grade all submissions.

Submission #435761

#TimeUsernameProblemLanguageResultExecution timeMemory
435761ioiMemory (IOI10_memory)C++14
100 / 100
4 ms328 KiB
#include "grader.h" #include "memory.h" #include<bits/stdc++.h> using namespace std ; void play() { int i; char a, b; map<char , vector<int> > mp ; for (i=1; i<51; ++i) { a = faceup(i); mp[a] .push_back(i); // b = faceup(47); } for(auto f : mp){ faceup(f.second[0]); faceup(f.second[1]); } }

Compilation message (stderr)

memory.cpp: In function 'void play()':
memory.cpp:8:12: warning: unused variable 'b' [-Wunused-variable]
    8 |    char a, b;
      |            ^
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...