Submission #381382

# Submission time Handle Problem Language Result Execution time Memory
381382 2021-03-25T07:11:21 Z bilAktauOrazali Košnja (COCI17_kosnja) C++14
25 / 50
133 ms 628 KB
#include<iostream>
using namespace std;
int main()
{
	long long int a=0,b=0,c=0;
	cin>>a;
	while(a--)
	{ 
	    int sum=0;
		cin>>b>>c;
    sum=2*min(b,c)-2;
    cout<<sum;
	}
	return 0;
}
# 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 2 ms 364 KB Output is correct
6 Incorrect 88 ms 492 KB Output isn't correct
7 Incorrect 132 ms 620 KB Output isn't correct
8 Incorrect 93 ms 492 KB Output isn't correct
9 Incorrect 133 ms 628 KB Output isn't correct
10 Incorrect 92 ms 492 KB Output isn't correct