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

#TimeUsernameProblemLanguageResultExecution timeMemory
408634rumen_mMemory (IOI10_memory)C++17
100 / 100
3 ms264 KiB
#include "grader.h" #include "memory.h" # include <bits/stdc++.h> using namespace std; vector <int> p[26]; void play() { int i; char a, b; for (i=1; i<=50; i++) { a = faceup(i); p[a-'A'].push_back(i);// cout<<"OK"<<endl; } for(i=0;i<25;i++) { faceup(p[i][0]); faceup(p[i][1]); } return ; }

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...