# | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
37970 | 2017-12-29T19:12:53 Z | tmk | Košnja (COCI17_kosnja) | C++14 | 13 ms | 2176 KB |
#include<bits/stdc++.h> using namespace std; #define st first #define nd second #define pb push_back typedef long long LL; int main() { ios_base::sync_with_stdio(0); cin.tie(0); int k; scanf("%d",&k); for(int i=0;i<k;i++) { int n,m; cin>>n>>m; int wynik=(min(n,m)-1)*2; printf("%d\n",wynik); } return 0; }
Compilation message
# | 결과 | 실행 시간 | 메모리 | Grader output |
---|---|---|---|---|
1 | Incorrect | 0 ms | 2176 KB | Output isn't correct |
2 | Incorrect | 0 ms | 2176 KB | Output isn't correct |
3 | Incorrect | 0 ms | 2176 KB | Output isn't correct |
4 | Incorrect | 0 ms | 2176 KB | Output isn't correct |
5 | Incorrect | 0 ms | 2176 KB | Output isn't correct |
6 | Incorrect | 9 ms | 2176 KB | Output isn't correct |
7 | Incorrect | 13 ms | 2176 KB | Output isn't correct |
8 | Incorrect | 6 ms | 2176 KB | Output isn't correct |
9 | Incorrect | 9 ms | 2176 KB | Output isn't correct |
10 | Incorrect | 6 ms | 2176 KB | Output isn't correct |