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

#TimeUsernameProblemLanguageResultExecution timeMemory
470783a_aguiloMemory (IOI10_memory)C++14
100 / 100
3 ms300 KiB
#include "grader.h" #include "memory.h" #include <bits/stdc++.h> using namespace std; void play() { vector <pair <char, int>> data; for (int i = 1; i <= 50; ++i){ char c = faceup (i); data.push_back(make_pair(c, i)); } sort (data.begin(), data.end()); for (int e = 0; e < 25; ++e){ char x = faceup(data[2 * e + 1].second); char y = faceup(data[2*e].second); } }

Compilation message (stderr)

memory.cpp: In function 'void play()':
memory.cpp:16:14: warning: unused variable 'x' [-Wunused-variable]
   16 |         char x = faceup(data[2 * e + 1].second);
      |              ^
memory.cpp:17:14: warning: unused variable 'y' [-Wunused-variable]
   17 |         char y = faceup(data[2*e].second);
      |              ^
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...