Aktualizovat „du4/program.c“
This commit is contained in:
parent
2db9765b0e
commit
ce16210809
@ -59,9 +59,12 @@ double compare_percent(double a, double b, double eps)
|
||||
|
||||
int main()
|
||||
{
|
||||
char str[100];
|
||||
memset(str,0,100);
|
||||
fgets(str,100,stdin);
|
||||
char str[100][100];
|
||||
int i =0;
|
||||
for(;i<100;i++){
|
||||
scanf("%s",str[i]);
|
||||
}
|
||||
for(int k=0;k<i;k++){
|
||||
char *new_str = compactString(str,strlen(str));
|
||||
double first =-5,second =-5,res=-5;
|
||||
char c='E';
|
||||
@ -80,6 +83,6 @@ int main()
|
||||
printf("ZLE\n");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user