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

#TimeUsernameProblemLanguageResultExecution timeMemory
1114189applepearMemory (IOI10_memory)C++17
100 / 100
4 ms548 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)-65].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...