From 6d9781765daf3ac1e80f43c4a0d38d07261c4721 Mon Sep 17 00:00:00 2001 From: sijanec Date: Sat, 5 Dec 2020 15:35:38 +0100 Subject: 13. naloga --- mat/euler/12/a.out | Bin 8568 -> 8568 bytes mat/euler/12/prog.c | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) (limited to 'mat/euler/12') diff --git a/mat/euler/12/a.out b/mat/euler/12/a.out index 37a4114..c78bf2d 100755 Binary files a/mat/euler/12/a.out and b/mat/euler/12/a.out 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++; -- cgit v1.2.3