debug vstupu 4
This commit is contained in:
parent
22aeaaeecc
commit
93a7c34130
@ -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] != ' ' && loading_string[iterating_index] != '\0' && loading_string != '\n') {
|
while (loading_string[iterating_index] != ' ' && loading_string[iterating_index] != '\0' && loading_string[iterating_index] != '\n') {
|
||||||
iterating_index++;
|
iterating_index++;
|
||||||
}
|
}
|
||||||
if (loading_string == '\n') break;
|
if (loading_string == '\n') break;
|
||||||
@ -41,6 +41,7 @@ int main() {
|
|||||||
int i = 0;
|
int i = 0;
|
||||||
while(i != '\0') {
|
while(i != '\0') {
|
||||||
printf("%d ", loading_string[i]);
|
printf("%d ", loading_string[i]);
|
||||||
|
i++;
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user