Aktualizovat „du4/program.c“
This commit is contained in:
parent
37145fb7db
commit
72fc100235
@ -52,8 +52,12 @@ double compare_percent(double a, double b, double eps)
|
|||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
char str[100][100];
|
char str[100][100];
|
||||||
char b ;
|
char b;
|
||||||
|
int quan =1;
|
||||||
for(int i =0;fgets(str[i],100,stdin);i++){
|
for(int i =0;fgets(str[i],100,stdin);i++){
|
||||||
|
if(str[i][0]=='\n'){
|
||||||
|
break;
|
||||||
|
}
|
||||||
char *new_str = compactString(str[i],strlen(str[i]));
|
char *new_str = compactString(str[i],strlen(str[i]));
|
||||||
double first =-5,second =-5,res=-5;
|
double first =-5,second =-5,res=-5;
|
||||||
char c='E';
|
char c='E';
|
||||||
@ -70,8 +74,9 @@ int main()
|
|||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
printf("ZLE\n");
|
printf("ZLE\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user