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

#TimeUsernameProblemLanguageResultExecution timeMemory
245853kevleeMemory (IOI10_memory)C++17
100 / 100
7 ms512 KiB
#include <bits/stdc++.h> #include "grader.h" #include "memory.h" using namespace std; vector<int> v[100]; void play() { for (int i=1; i<=50; i++) { v[faceup(i)].push_back(i); } for (int i=0; i<25; i++) { faceup(v[i+'A'][0]); faceup(v[i+'A'][1]); } }

Compilation message (stderr)

memory.cpp: In function 'void play()':
memory.cpp:9:18: warning: array subscript has type 'char' [-Wchar-subscripts]
       v[faceup(i)].push_back(i);
                  ^
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...