Avoid if statements for checking neighboring indexes in a 2D array

Ivan Kazmenko via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Jul 17 04:44:44 PDT 2017


On Monday, 17 July 2017 at 07:14:26 UTC, Andrea Fontana wrote:

> Probably using ndslice library could help you!

Unfortunately, that's not possible on most online contest 
platforms like Codeforces.  For each programming language and 
compiler available, only the most basic package is usually 
installed on the server.  There is a mix of reasons involved 
(historical, maintenance, choice of libraries, more equality for 
different languages, etc.).  That means, e.g., no numpy for 
Python, no Boost for C++, and no third-party libraries for D.

Ivan Kazmenko.



More information about the Digitalmars-d-learn mailing list