From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on ip-172-31-65-14.ec2.internal X-Spam-Level: X-Spam-Status: No, score=0.8 required=3.0 tests=BAYES_50,FREEMAIL_FROM, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Received: by 2002:a05:620a:2605:b0:76d:86b1:ece8 with SMTP id z5-20020a05620a260500b0076d86b1ece8mr214134qko.12.1695110396856; Tue, 19 Sep 2023 00:59:56 -0700 (PDT) X-Received: by 2002:a05:6830:1e6b:b0:6bc:fab5:e998 with SMTP id m11-20020a0568301e6b00b006bcfab5e998mr3428029otr.1.1695110396570; Tue, 19 Sep 2023 00:59:56 -0700 (PDT) Path: eternal-september.org!news.eternal-september.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Tue, 19 Sep 2023 00:59:56 -0700 (PDT) In-Reply-To: <6ca729fc-8445-409e-a399-675ee3dc5c20n@googlegroups.com> Injection-Info: google-groups.googlegroups.com; posting-host=77.75.179.3; posting-account=ZswU3AoAAAA4QKiyoxEpA3Hh7ry7Cau3 NNTP-Posting-Host: 77.75.179.3 References: <796f0dd5-cf5e-430b-a650-4ba85ba5f28bn@googlegroups.com> <6ca729fc-8445-409e-a399-675ee3dc5c20n@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <085e14ba-ec57-475f-8a5a-c05ed4313865n@googlegroups.com> Subject: Re: project euler 26 From: "comp.lang.ada" Injection-Date: Tue, 19 Sep 2023 07:59:56 +0000 Content-Type: text/plain; charset="UTF-8" X-Received-Bytes: 2142 Xref: news.eternal-september.org comp.lang.ada:65684 List-Id: > > Please take a look at my Euler tools repository, https://github.com/rocher/euler_tools (not the best math lib you'll find, I know). > > I used this library tools to solve problem 26 here: https://github.com/rocher/alice-project_euler-rocher > > Let me know what you think. > sorry for reply so late. I just do not know how to install the lib to my GNAT. First of all, you need to install Alire on your system: https://alire.ada.dev Second, simply follow these steps: 1. Clone euler_tools: "git clone https://github.com/rocher/euler_tools" 2. Enter examples directory: "cd euler_tools/examples" 3. Build examples: "alr build" Included examples are problems 26 and 29 (discussed in another thread). If you'd like to discuss any other Project Euler problem, I have solved from 1 to 30 (at the moment). It'll be a pleasure to review/discuss any other problem. BR --- Francesc Rocher