Изменить 'du2/program.c'
BMW M5 Love
This commit is contained in:
parent
ac31afb828
commit
134b7e2d64
@ -25,7 +25,7 @@ int main() {
|
||||
int max_number = 0;
|
||||
int max_position = 1;
|
||||
|
||||
for (int i = 0; fgets(glass[i], 20, stdin) != NULL; i++){
|
||||
for (int i = 0; fgets(glass[i], 20, stdin); i++){
|
||||
for (int j = 0; j < strlen(glass[i]); j++){
|
||||
if (!isdigit(glass[i][j]) || atoi (glass[i]) < 1){
|
||||
goto LABEL;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user