summaryrefslogtreecommitdiffstats
path: root/mat/euler/12/prog.c
diff options
context:
space:
mode:
authorsijanec <sijanecantonluka@gmail.com>2020-12-05 15:35:38 +0100
committersijanec <sijanecantonluka@gmail.com>2020-12-05 15:35:38 +0100
commit6d9781765daf3ac1e80f43c4a0d38d07261c4721 (patch)
treeceb1d414ee8752469ed35f1afc55c3e74168a205 /mat/euler/12/prog.c
parent12. naloga (diff)
downloadsola-gimb-2-6d9781765daf3ac1e80f43c4a0d38d07261c4721.tar
sola-gimb-2-6d9781765daf3ac1e80f43c4a0d38d07261c4721.tar.gz
sola-gimb-2-6d9781765daf3ac1e80f43c4a0d38d07261c4721.tar.bz2
sola-gimb-2-6d9781765daf3ac1e80f43c4a0d38d07261c4721.tar.lz
sola-gimb-2-6d9781765daf3ac1e80f43c4a0d38d07261c4721.tar.xz
sola-gimb-2-6d9781765daf3ac1e80f43c4a0d38d07261c4721.tar.zst
sola-gimb-2-6d9781765daf3ac1e80f43c4a0d38d07261c4721.zip
Diffstat (limited to '')
-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++;