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

#TimeUsernameProblemLanguageResultExecution timeMemory
545586sebalejandro601Memory (IOI10_memory)C++14
100 / 100
2 ms276 KiB
#include "grader.h" #include "memory.h" #include<bits/stdc++.h> using namespace std; void play() { char a,b; vector<vector<int>>A(25); for(int i=1;i<=50;i++) { a=faceup(i); int ascii=a-'A'; A[ascii].push_back(i); } for(int i=0;i<25;i++) { a=faceup(A[i][0]); b=faceup(A[i][1]); } }

Compilation message (stderr)

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