This commit is contained in:
Vadym Afanasiev 2026-03-20 12:20:28 +00:00
parent fea4c4881b
commit 18d993b1d3

View File

@ -21,9 +21,8 @@ int main() {
char pusto[256]; char pusto[256];
int j = 0; int j = 0;
for (int i = 0; line[i] != '\0'; i++) { for (int i = 0; line[i] != '\0'; i++) {
if (!isspace(line[i]) ) { if (!isspace(line[i])) {
pusto[j++] = line[i];
pusto[j = j + 1] = line[i];
} }
} }
pusto[j] = '\0'; pusto[j] = '\0';