제출 #862507

#제출 시각아이디문제언어결과실행 시간메모리
862507KK_1729Memory (IOI10_memory)C++17
0 / 100
1 ms344 KiB
#include "grader.h" #include "memory.h" #include <bits/stdc++.h> using namespace std; void play() { int i; char a, b; vector<int> x(26); vector<int> y(26); for (int i = 1; i <= 50; i++){ int l = faceup(i) - 'A'; if (!x[l]) x[l] = i; else y[l] = i; } for (int i = 1; i <= 25; i++){ faceup(x[i]); faceup(y[i]); } }

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

memory.cpp: In function 'void play()':
memory.cpp:7:8: warning: unused variable 'i' [-Wunused-variable]
    7 |    int i;
      |        ^
memory.cpp:8:9: warning: unused variable 'a' [-Wunused-variable]
    8 |    char a, b;
      |         ^
memory.cpp:8:12: warning: unused variable 'b' [-Wunused-variable]
    8 |    char a, b;
      |            ^
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...