제출 #533974

#제출 시각아이디문제언어결과실행 시간메모리
533974michaoXylophone (JOI18_xylophone)C++14
0 / 100
0 ms264 KiB
#include "xylophone.h" static int A[5000]; void solve(int N) { int value = query(1, N); for(int i = 1; i <= N; i++) { answer(i, i); } }

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

xylophone.cpp: In function 'void solve(int)':
xylophone.cpp:7:6: warning: unused variable 'value' [-Wunused-variable]
    7 |  int value = query(1, N);
      |      ^~~~~
xylophone.cpp: At global scope:
xylophone.cpp:3:12: warning: 'A' defined but not used [-Wunused-variable]
    3 | static int A[5000];
      |            ^
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...