author | Alberto Bertogli
<albertito@blitiri.com.ar> 2010-09-08 04:23:12 UTC |
committer | Alberto Bertogli
<albertito@blitiri.com.ar> 2010-09-08 04:23:12 UTC |
parent | 9aa0a3ec8978820266c20b48b949deb619200907 |
binomial.cpp | +1 | -1 |
binomial_inc.cpp | +1 | -1 |
diff --git a/binomial.cpp b/binomial.cpp index 84a63a5..435b209 100644 --- a/binomial.cpp +++ b/binomial.cpp @@ -59,7 +59,7 @@ int main(int argc, char *argv[]) //printf(" %d %.60f 0x%" print_64t "x\n", i, n.to_double(), to_u64(n)); /* Vamos emitiendo los resultados a medida que los tenemos */ - print_result(i, n); + print_result(i + 1, n); } return 0; diff --git a/binomial_inc.cpp b/binomial_inc.cpp index 4823915..e24082f 100644 --- a/binomial_inc.cpp +++ b/binomial_inc.cpp @@ -68,7 +68,7 @@ int main(int argc, char *argv[]) //printf(" %d %.60f 0x%" print_64t "x\n", i, n.to_double(), to_u64(n)); /* Vamos emitiendo los resultados a medida que los tenemos */ - print_result(i + 1, n); + print_result(i + 2, n); } return 0;