답안 #61343

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
61343 2018-07-25T16:04:46 Z the_art_of_war Xylophone (JOI18_xylophone) C++14
0 / 100
3 ms 436 KB
#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

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];
            ^
# 결과 실행 시간 메모리 Grader output
1 Correct 3 ms 248 KB Output is correct
2 Incorrect 3 ms 436 KB Wrong Answer [7]
3 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Correct 3 ms 248 KB Output is correct
2 Incorrect 3 ms 436 KB Wrong Answer [7]
3 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Correct 3 ms 248 KB Output is correct
2 Incorrect 3 ms 436 KB Wrong Answer [7]
3 Halted 0 ms 0 KB -