This commit is contained in:
Oleksandr Vyshniakov 2025-03-02 14:48:31 +01:00
parent e7cf4189b2
commit b7271e447b
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
#include <stdio.h>
#include <math.h>
#define cislo123 0.01
int main() {
char input[100];
@ -50,7 +50,7 @@ int main() {
result2 = round(result2 * 100) / 100;
if (fabs(result2 - result) < cislo123) {
if (result2 == result) {
printf("OK\n");
} else {
printf("ZLE\n");

Binary file not shown.