summaryrefslogtreecommitdiffstats
path: root/mat/euler/12
diff options
context:
space:
mode:
Diffstat (limited to 'mat/euler/12')
-rwxr-xr-xmat/euler/12/a.outbin8568 -> 8568 bytes
-rw-r--r--mat/euler/12/prog.c2
2 files changed, 1 insertions, 1 deletions
diff --git a/mat/euler/12/a.out b/mat/euler/12/a.out
index 37a4114..c78bf2d 100755
--- a/mat/euler/12/a.out
+++ b/mat/euler/12/a.out
Binary files differ
diff --git a/mat/euler/12/prog.c b/mat/euler/12/prog.c
index 7af0f37..c23af4d 100644
--- a/mat/euler/12/prog.c
+++ b/mat/euler/12/prog.c
@@ -21,7 +21,7 @@ int main (int argc, char ** argv) {
}
d = (d*2)+2; // dva dodamo, ker sta to število samo in 1
if (d > n) {
- fprintf(stdout, "\rnašel število %lld z %lld delitelji\n", s, d);
+ fprintf(stdout, "\rnašel %lld triangelsko število %lld z %lld delitelji\n", i, s, d);
return 0;
}
i++;