diff options
author | sijanec <sijanecantonluka@gmail.com> | 2020-12-05 15:35:38 +0100 |
---|---|---|
committer | sijanec <sijanecantonluka@gmail.com> | 2020-12-05 15:35:38 +0100 |
commit | 6d9781765daf3ac1e80f43c4a0d38d07261c4721 (patch) | |
tree | ceb1d414ee8752469ed35f1afc55c3e74168a205 /mat/euler/12 | |
parent | 12. naloga (diff) | |
download | sola-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 'mat/euler/12')
-rwxr-xr-x | mat/euler/12/a.out | bin | 8568 -> 8568 bytes | |||
-rw-r--r-- | mat/euler/12/prog.c | 2 |
2 files changed, 1 insertions, 1 deletions
diff --git a/mat/euler/12/a.out b/mat/euler/12/a.out Binary files differindex 37a4114..c78bf2d 100755 --- a/mat/euler/12/a.out +++ b/mat/euler/12/a.out 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++; |