# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
104687 | promota | Wiring (IOI17_wiring) | C++14 | 0 ms | 0 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
long long int min_total_length(vector<int> r,vector<int> b){
long long int minLen=0;
for(int j=0;j<r.length()-1;j++){
minLen += b[0]-r[j];
}
for(int i=1;i<b.length();i++){
minLen += b[i]-r[r.length()-1];
}
return minLen;
}