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

#TimeUsernameProblemLanguageResultExecution timeMemory
422420chirathnirodhaMemory (IOI10_memory)C++17
100 / 100
4 ms268 KiB
#include "grader.h" #include "memory.h" #include<bits/stdc++.h> using namespace std; void play() { vector<int> v[25]; int a,b; for(int i=0;i<50;i++){ a=int(faceup(i+1))-65; v[a].push_back(i+1); } for(int i=0;i<25;i++){ a=faceup(v[i][0]); b=faceup(v[i][1]); } }

Compilation message (stderr)

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