Submission #1025776

#TimeUsernameProblemLanguageResultExecution timeMemory
1025776vjudge1Košnja (COCI17_kosnja)C++17
50 / 50
66 ms1160 KiB
#include <bits/stdc++.h> using namespace std; int main() { int k; cin>>k; while (k--) { int n,m; cin>>n>>m; cout<<(min(n,m)-1)*2<<endl; } return 0; }
#Verdict Execution timeMemoryGrader output
Fetching results...