# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
500301 | kappa | Košnja (COCI17_kosnja) | C++14 | 84 ms | 1216 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#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 time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |