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

#TimeUsernameProblemLanguageResultExecution timeMemory
224491jhnah917Memory (IOI10_memory)C++14
100 / 100
7 ms384 KiB
#include "grader.h" #include "memory.h" #include <bits/stdc++.h> using namespace std; vector<int> v[256]; void play(){ for(int i=1; i<=50; i++){ auto t = faceup(i); v[t].push_back(i); } for(int i='A'; i<='Y'; i++){ faceup(v[i][0]); faceup(v[i][1]); } }

Compilation message (stderr)

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