#include<stdio.h>
int main()
{
int flower_count=0;
int single_flower=0;
scanf("%d",&flower_count);
scanf("%d",&single_flower);
if((flower_count==1)&&(single_flower==1))
{
printf("%d",flower_count);
return 0;
}
if(flower_count==1)
{
if(single_flower%2==0)
{
printf("%d",single_flower-1);
}
else
{
printf("%d",single_flower);
}
return 0;
}
if((flower_count*single_flower)%2==0)
{
printf("%d",flower_count*single_flower-1);
}
else
{
printf("%d",flower_count*single_flower);
}
}
为什么我的代码case同通过率只有0%,求各位大神指教。