Usage of Libraries

I code in Python and I am wondering if USACO allows use of libraries in solutions, such as numpy, itertools, etc?

1 Like

As with most other competitive programming websites (e.g. Python 3 – Kattis, Kattis), you can only use standard libraries (The Python Standard Library — Python 3.10.5 documentation). So yes to itertools, no to numpy.