제출 #1060223

#제출 시각아이디문제언어결과실행 시간메모리
1060223Zicrus전선 연결 (IOI17_wiring)C++17
0 / 100
0 ms432 KiB
#include <bits/stdc++.h> #include "wiring.h" using namespace std; typedef long long ll; ll min_total_length(vector<int> r, vector<int> b) { ll n = r.size(), m = b.size(); return min(n, m) * min(n, m) + max(n, m) * (max(n, m)+1) / 2 - min(n, m) * (min(n, m)+1) / 2; }
#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...