Fix return on no matching numbers

This commit is contained in:
Stephen Seo 2020-06-05 23:34:06 +09:00
parent 9e823f892c
commit 851f43507c

View file

@ -95,7 +95,7 @@ int main(int argc, char **argv) {
sv_print(&sv);
// Actually do the problem here
temp_i = 0;
temp_i = -1;
int temp_sum;
for(unsigned int i = 0; i < sv.size; ++i) {
for(unsigned int j = i + 1; j < sv.size; ++j) {