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

제출 #224491

#제출 시각아이디문제언어결과실행 시간메모리
224491jhnah917Memory (IOI10_memory)C++14
100 / 100
7 ms384 KiB
#include "grader.h" #include "memory.h" #include <bits/stdc++.h> using namespace std; vector<int> v[256]; void play(){ for(int i=1; i<=50; i++){ auto t = faceup(i); v[t].push_back(i); } for(int i='A'; i<='Y'; i++){ faceup(v[i][0]); faceup(v[i][1]); } }

컴파일 시 표준 에러 (stderr) 메시지

memory.cpp: In function 'void play()':
memory.cpp:11:12: warning: array subscript has type 'char' [-Wchar-subscripts]
         v[t].push_back(i);
            ^
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...