Submission #131132

#TimeUsernameProblemLanguageResultExecution timeMemory
131132OrtKošnja (COCI17_kosnja)C++11
50 / 50
18 ms1272 KiB
#include<iostream> using namespace std; int n, m, k; int main() { cin.sync_with_stdio(0); cin.tie(0); cin.exceptions(cin.failbit); cin >> k; while(k--) { cin >> n >> m; cout << 2*min(n,m)-2 << "\n"; } return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...