Submission #275357

#TimeUsernameProblemLanguageResultExecution timeMemory
275357barsboldMemory (IOI10_memory)C++14
0 / 100
1 ms256 KiB
#include "grader.h" #include "memory.h" #include <bits/stdc++.h> std::vector<int> f[100]; void play() { for(int i =1 ;i<=50; i++){ faceup(i); f[faceup(i)].push_back(i); } for(int i =0; i<25; i++){ faceup(f[i + 'A'][0]); faceup(f[i + 'A'][1]); } }

Compilation message (stderr)

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