제출 #372538

#제출 시각아이디문제언어결과실행 시간메모리
372538Christopher_RdzMemory (IOI10_memory)C++17
50 / 100
37 ms384 KiB
#include "grader.h"
#include "memory.h"

void play() {
   char a, b;
   for (int i = 1; i <= 49; i++){
       for (int j = i + 1; j <= 50; j++){
           a = faceup(i);
           b = faceup(j);
       }
   }
}

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

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