# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
381448 | 2021-03-25T08:01:23 Z | AlashKZ | Košnja (COCI17_kosnja) | C++17 | 137 ms | 620 KB |
#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
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Correct | 1 ms | 364 KB | Output is correct |
2 | Correct | 1 ms | 364 KB | Output is correct |
3 | Correct | 1 ms | 364 KB | Output is correct |
4 | Correct | 1 ms | 364 KB | Output is correct |
5 | Correct | 1 ms | 364 KB | Output is correct |
6 | Correct | 89 ms | 492 KB | Output is correct |
7 | Correct | 130 ms | 620 KB | Output is correct |
8 | Correct | 94 ms | 492 KB | Output is correct |
9 | Correct | 137 ms | 620 KB | Output is correct |
10 | Correct | 91 ms | 492 KB | Output is correct |