Submission #170325

#TimeUsernameProblemLanguageResultExecution timeMemory
170325ngmhKošnja (COCI17_kosnja)C++11
50 / 50
177 ms1400 KiB
#include <bits/stdc++.h> using namespace std; long long n, x, y; int main(){ cin >> n; for(int i = 0; i < n; i++){ cin >> x >> y; cout << min((x-1)*2, (y-1)*2) << "\n"; } }
#Verdict Execution timeMemoryGrader output
Fetching results...