제출 #1015585

#제출 시각아이디문제언어결과실행 시간메모리
1015585ByeWorldMemory (IOI10_memory)C++14
0 / 100
1 ms344 KiB
#include "grader.h" #include "memory.h" int val[55][2]; void play() { for(int i=1; i<=50; i++){ char x = faceup(i); int p = (int)(x-'a'); p++; if(val[p][0] != 0) val[p][1] = i; else val[p][0] = i; } for(int i=1; i<=25; i++){ char x = faceup(val[i][0]); char y = faceup(val[i][1]); } return; }

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

memory.cpp: In function 'void play()':
memory.cpp:13:8: warning: unused variable 'x' [-Wunused-variable]
   13 |   char x = faceup(val[i][0]);
      |        ^
memory.cpp:14:8: warning: unused variable 'y' [-Wunused-variable]
   14 |   char y = faceup(val[i][1]);
      |        ^
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...