Submission #293391

#TimeUsernameProblemLanguageResultExecution timeMemory
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...