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

#TimeUsernameProblemLanguageResultExecution timeMemory
1116390alenterMemory (IOI10_memory)C++14
100 / 100
3 ms576 KiB
#include "grader.h" #include "memory.h" #include<bits/stdc++.h> using namespace std; const int MAXN = 60; vector<int> v[MAXN]; void play() { for(int i = 1; i <= 50; i++){ char a = faceup(i); int idx = (int)a - (int)'A'; v[idx].push_back(i); } char a; for(int i = 0; i < 25; i++){ a = faceup(v[i][0]); a = faceup(v[i][1]); } }

Compilation message (stderr)

memory.cpp: In function 'void play()':
memory.cpp:19:10: warning: variable 'a' set but not used [-Wunused-but-set-variable]
   19 |     char a;
      |          ^
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...