Aktualizovat „du4/program.c“
This commit is contained in:
parent
d944f7a475
commit
62bef9862b
@ -14,6 +14,9 @@ int main(){
|
|||||||
check *= 100000;
|
check *= 100000;
|
||||||
int tmp = check;
|
int tmp = check;
|
||||||
check = (float) tmp / 100000;
|
check = (float) tmp / 100000;
|
||||||
|
answer *= 100000;
|
||||||
|
tmp = answer;
|
||||||
|
answer = (float) tmp / 100000;
|
||||||
printf("%s\n", (check == answer) ? "OK" : "ZLE");
|
printf("%s\n", (check == answer) ? "OK" : "ZLE");
|
||||||
//printf("%f\n", check);
|
//printf("%f\n", check);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user