Submission #500301

#TimeUsernameProblemLanguageResultExecution timeMemory
500301kappaKošnja (COCI17_kosnja)C++14
50 / 50
84 ms1216 KiB
#include <bits/stdc++.h> using namespace std; int t, n, m; int main(){ cin >> t; while(t--){ cin >> n >> m; int a = min(n, m); cout << 2 * (a - 1) << "\n"; } }
#Verdict Execution timeMemoryGrader output
Fetching results...