Submission #837646

#TimeUsernameProblemLanguageResultExecution timeMemory
837646mindiyakTowns (IOI15_towns)C++14
0 / 100
11 ms348 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=i+1;j<N;j++){ 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...