refresh
This commit is contained in:
parent
e7cf4189b2
commit
b7271e447b
@ -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");
|
||||
|
BIN
du3/program.exe
BIN
du3/program.exe
Binary file not shown.
Loading…
Reference in New Issue
Block a user