fix nacitavania poslednej hodnoty
This commit is contained in:
parent
60b116ec58
commit
6e06b65a5b
@ -15,7 +15,7 @@ int main() {
|
|||||||
int max_number_user_pair[2] = {0,0};
|
int max_number_user_pair[2] = {0,0};
|
||||||
int starting_index = 0;
|
int starting_index = 0;
|
||||||
while(starting_index<string_index) {
|
while(starting_index<string_index) {
|
||||||
while (loading_string[iterating_index] != ' ') {
|
while (loading_string[iterating_index] != ' ' && loading_string[iterating_index] != EOF) {
|
||||||
iterating_index++;
|
iterating_index++;
|
||||||
}
|
}
|
||||||
iterating_index++;
|
iterating_index++;
|
||||||
|
Loading…
Reference in New Issue
Block a user