Aktualizovat „du4/program.c“
This commit is contained in:
parent
62bef9862b
commit
ab77dc0676
@ -1,6 +1,7 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
int main(){
|
int main(){
|
||||||
|
while(1){
|
||||||
char read[1000000];
|
char read[1000000];
|
||||||
scanf("%[^\n]", read);
|
scanf("%[^\n]", read);
|
||||||
float num1, num2, answer;
|
float num1, num2, answer;
|
||||||
@ -19,4 +20,5 @@ int main(){
|
|||||||
answer = (float) tmp / 100000;
|
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