maybe a floating point issue?

Serg Gini kornburn at yandex.ru
Fri Sep 19 07:04:16 UTC 2025


On Friday, 19 September 2025 at 06:23:02 UTC, czylabsonasa wrote:
> Hi.
>
> I'm trying to solve a programming contest 
> [problem](https://open.kattis.com/problems/anthony) in D. The

Let's see:
>    auto p=new fT[](A+C);
In D code you allocating p vector of size A+C

>    p.resize(A+C+1);
In C++ code you are allocating p vector of size A+C+1

Maybe on some corner cases of the logic Trav function it can 
affect the result


More information about the Digitalmars-d mailing list