Submission #237908

#TimeUsernameProblemLanguageResultExecution timeMemory
237908MrRobot_28Košnja (COCI17_kosnja)C++17
50 / 50
20 ms1280 KiB
#include<bits/stdc++.h> using namespace std; signed main() { ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL); int k; cin >> k; while(k--){ int n, m; cin >> n >> m; int u = min(n, m); cout << 2 * (u - 1) << "\n"; } return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...