Submission #404003

#TimeUsernameProblemLanguageResultExecution timeMemory
404003penguinhackerKošnja (COCI17_kosnja)C++14
50 / 50
17 ms1228 KiB
#include <bits/stdc++.h> using namespace std; #define ll long long #define ar array int main() { ios::sync_with_stdio(0); cin.tie(0); int t; cin >> t; while(t--) { int n, m; cin >> n >> m; cout << 2*min(n, m)-2 << "\n"; } return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...