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

#TimeUsernameProblemLanguageResultExecution timeMemory
1109885MarszpaceMemory (IOI10_memory)C++14
0 / 100
1 ms336 KiB
#include<bits/stdc++.h> #include "grader.h" #include "memory.h" using namespace std; void play(){ vector<int> ls[258]; for(int i=0;i<50;i++){ ls[faceup(i)].push_back(i); } for(int i='A';i<'Z';i++){faceup(ls[i][0]);faceup(ls[i][1]);} }

Compilation message (stderr)

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