summaryrefslogtreecommitdiffstats
path: root/mat/euler/12/prog.c
diff options
context:
space:
mode:
Diffstat (limited to 'mat/euler/12/prog.c')
-rw-r--r--mat/euler/12/prog.c2
1 files changed, 1 insertions, 1 deletions
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++;