You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
200 B
20 lines
200 B
11 months ago
|
int a;
|
||
|
int b;
|
||
|
int c;
|
||
|
int d;
|
||
|
int e;
|
||
|
int main()
|
||
|
{
|
||
|
a=getint();
|
||
|
b=getint();
|
||
|
c=getint();
|
||
|
d=getint();
|
||
|
e=getint();
|
||
|
int flag=0;
|
||
|
if(a-b*c!=d-a/c||a*b/c==e+d||a+b+c==d+e)
|
||
|
{
|
||
|
flag=1;
|
||
|
}
|
||
|
return flag;
|
||
|
}
|