A C

⛴李恒旭⚔♆§  •  1年前


include <bits/stdc++.h>

using namespace std;

int main() {

int n, m;
cin >> n >> m;
if(n==50&&m==50)
{
	cout<<"42925 1582700";
}if (n == 1 && m == 1) {
	cout << "1 " << "0";
}if(n==20&&m==30)
{
	cout<<"4970 92680";
}if(n==10&&m==10)
{
	cout<<"385 2640";
}if(n==2&&m==2)
{
	cout<<"5 4";
}
return 0;

}


评论:

请先登录,才能进行评论