Submission #61343

#TimeUsernameProblemLanguageResultExecution timeMemory
61343the_art_of_warXylophone (JOI18_xylophone)C++14
0 / 100
3 ms436 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); } }

Compilation message (stderr)

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