首页 > 其他分享 >AGC004

AGC004

时间:2022-12-17 23:44:07浏览次数:64  
标签:AGC004 ll long inline include getchar

#include<iostream>
#include<cstdio>
#include<string>
#include<cstring>
#include<vector>
#include<algorithm>
using namespace std;
typedef long long ll;
ll A,B,C;
inline void read(ll &x)
{
	ll f=1;char c;
	for(x=0,c=getchar();c<'0'||c>'9';c=getchar()) if(c=='-') f=-1;
	for(;c>='0'&&c<='9';c=getchar()) x=(x<<1)+(x<<3)+(c^48); x*=f;
}
inline ll mn(ll _x,ll _y){return _x<_y?_x:_y;}
inline ll mx(ll _x,ll _y){return _x>_y?_x:_y;}
inline ll ab(ll _x){return _x<0?-_x:_x;}

int main()
{
	read(A);read(B);read(C);
	printf("%lld\n",mn(mn((A&1)*B*C,(B&1)*A*C),(C&1)*A*B));
	return 0;
}

标签:AGC004,ll,long,inline,include,getchar
From: https://www.cnblogs.com/hyear-presia/p/16989853.html

相关文章