(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.

제출 #1114189

#제출 시각아이디문제언어결과실행 시간메모리
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]); } }

컴파일 시 표준 에러 (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...