# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
381448 | AlashKZ | Košnja (COCI17_kosnja) | C++17 | 137 ms | 620 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;
main ()
{
int a;
cin >> a;
for(int i = 1;i <= a; ++i){
int b, c;
cin>>b>>c;
b = min(b, c);
(b--);
cout<<b * 2<<endl;
}
}
Compilation message (stderr)
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |