2020-04-01 18:52:14 +00:00
|
|
|
#include <stdio.h>
|
|
|
|
|
|
|
|
int main()
|
|
|
|
{
|
2020-04-01 19:02:48 +00:00
|
|
|
|
2020-04-01 18:52:14 +00:00
|
|
|
int a, b;
|
2020-04-01 19:02:48 +00:00
|
|
|
scanf("%d%d", &a, &b);
|
2020-04-01 18:52:14 +00:00
|
|
|
float c;
|
|
|
|
scanf("%f", &c);
|
|
|
|
if (c==a+b)
|
2020-04-01 19:02:48 +00:00
|
|
|
printf("OK \n");
|
2020-04-01 18:52:14 +00:00
|
|
|
else
|
2020-04-01 19:02:48 +00:00
|
|
|
printf("ZLE\n");
|
2020-04-01 18:52:14 +00:00
|
|
|
scanf("%d%d", &a, &b);
|
|
|
|
scanf("%f", &c);
|
|
|
|
if (c==a*b)
|
2020-04-01 19:02:48 +00:00
|
|
|
printf("OK \n");
|
2020-04-01 18:52:14 +00:00
|
|
|
else
|
2020-04-01 19:02:48 +00:00
|
|
|
printf("ZLE\n");
|
2020-04-01 18:52:14 +00:00
|
|
|
scanf("%d%d", &a, &b);
|
|
|
|
scanf("%f", &c);
|
|
|
|
if (c==a/b)
|
2020-04-01 19:02:48 +00:00
|
|
|
printf("OK");
|
2020-04-01 18:52:14 +00:00
|
|
|
else
|
2020-04-01 19:02:48 +00:00
|
|
|
printf("ZLE \n");
|
2020-04-01 18:52:14 +00:00
|
|
|
scanf("%d%d", &a, &b);
|
|
|
|
scanf("%f", &c);
|
|
|
|
if (c==a/b)
|
2020-04-01 19:02:48 +00:00
|
|
|
printf("OK \n");
|
2020-04-01 18:52:14 +00:00
|
|
|
else
|
2020-04-01 19:02:48 +00:00
|
|
|
printf("ZLE \n");
|
2020-04-01 18:52:14 +00:00
|
|
|
return 0;
|
|
|
|
|
|
|
|
|
|
|
|
}
|