uz by to mohlo fungovat stale bez osetrenia vstupu 2
This commit is contained in:
parent
98c2841c21
commit
7d350360ac
@ -18,7 +18,7 @@ int main() {
|
||||
while (loading_string[iterating_index] != ' ' && loading_string[iterating_index] != '\0' && loading_string[iterating_index] != '\n') {
|
||||
iterating_index++;
|
||||
}
|
||||
if (loading_string[iterating_index] == '\n') break;
|
||||
if (loading_string[iterating_index] == '\n') iterating_index += 2;
|
||||
int number_size = iterating_index-starting_index;
|
||||
int current_number = 0;
|
||||
for (int l=0;l<number_size;l++) {
|
||||
|
Loading…
Reference in New Issue
Block a user