Submission #104686

#TimeUsernameProblemLanguageResultExecution timeMemory
104686promotaWiring (IOI17_wiring)C++14
Compilation error
0 ms0 KiB
long long int min_total_length(int n,int m,int r[],int b[]){ long long int minLen=0; for(int j=0;j<n-1;j++){ minLen += b[0]-r[j]; } for(int i=1;i<m;i++){ minLen += b[i]-r[n-1]; } return minLen; }

Compilation message (stderr)

/tmp/ccrMXMqO.o: In function `main':
grader.cpp:(.text.startup+0x23b): undefined reference to `min_total_length(std::vector<int, std::allocator<int> >, std::vector<int, std::allocator<int> >)'
collect2: error: ld returned 1 exit status