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

#TimeUsernameProblemLanguageResultExecution timeMemory
1114187applepearMemory (IOI10_memory)C++17
0 / 100
1 ms336 KiB
#include "grader.h" #include "memory.h" #include <bits/stdc++.h> using namespace std; void play() { vector<vector<int>> vec(25); for (int i = 1; i <= 50; ++i) { vec[faceup(i)-66].push_back(i); } for (int i = 0; i < vec.size(); ++i) { faceup(vec[i][0]); faceup(vec[i][1]); } }

Compilation message (stderr)

memory.cpp: In function 'void play()':
memory.cpp:13:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   13 |    for (int i = 0; i < vec.size(); ++i) {
      |                    ~~^~~~~~~~~~~~
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...