21 lines
219 B
Plaintext
21 lines
219 B
Plaintext
|
#include "sylib.h"
|
||
|
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;
|
||
|
}
|