(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 #397890

#TimeUsernameProblemLanguageResultExecution timeMemory
397890AugustinasJucasMemory (IOI10_memory)C++14
100 / 100
4 ms356 KiB
#include "grader.h" #include "memory.h" #include <bits/stdc++.h> using namespace std; void play() { char a, b; map<char, vector<int> > kur; for (int i = 1; i <= 50; i++){ char a = faceup(i); kur[a].push_back(i); } for(auto &x : kur){ faceup(x.second[0]); faceup(x.second[1]); } }

Compilation message (stderr)

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