제출 #718427

#제출 시각아이디문제언어결과실행 시간메모리
718427pafag93064도시들 (IOI15_towns)C++14
0 / 100
11 ms848 KiB
#include "towns.h" #include<bits/stdc++.h> using namespace std; int hubDistance(int N,int sub) { int maxd=0; for(int i=0;i<N;i++) { for(int j=0;j<i;j++) { maxd=max(maxd,getDistance(i,j)); } } return maxd/2; }

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

towns.cpp: In function 'int hubDistance(int, int)':
towns.cpp:4:27: warning: unused parameter 'sub' [-Wunused-parameter]
    4 | int hubDistance(int N,int sub) {
      |                       ~~~~^~~
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...