Submission #97825

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