Submission #837644

#TimeUsernameProblemLanguageResultExecution timeMemory
837644mindiyakTowns (IOI15_towns)C++14
0 / 100
1 ms212 KiB
#include "towns.h" #include <iostream> using namespace std; int hubDistance(int N, int sub) { int MX = 0; for(int i=0;i<N;i++){ for(int j=0;j<N;j++){ if(i==j)continue; MX = max(getDistance(i,j),MX); } } return MX; }

Compilation message (stderr)

towns.cpp: In function 'int hubDistance(int, int)':
towns.cpp:5:28: warning: unused parameter 'sub' [-Wunused-parameter]
    5 | 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...