제출 #293391

#제출 시각아이디문제언어결과실행 시간메모리
2933917_7_7Košnja (COCI17_kosnja)C++17
50 / 50
120 ms1272 KiB
#include <bits/stdc++.h> using namespace std; int main() { ios_base::sync_with_stdio(false); int t; cin >> t; while(t --){ int n, m; cin >> n >> m; cout << (min(n, m) - 1) * 2 << "\n"; } }
#Verdict Execution timeMemoryGrader output
Fetching results...