제출 #755317

#제출 시각아이디문제언어결과실행 시간메모리
755317vjudge1Memory (IOI10_memory)C++17
50 / 100
33 ms208 KiB
#include "grader.h" #include "memory.h" void play() { char arr[51]; for (int i = 1; i <= 50; i++) arr[i] = '0'; for (int i = 1; i <= 50; i++) for (int j = i+1; j <= 50; j++) { faceup(i); faceup(j); } return; }

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

memory.cpp: In function 'void play()':
memory.cpp:5:9: warning: variable 'arr' set but not used [-Wunused-but-set-variable]
    5 |    char arr[51];
      |         ^~~
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...