How to use the test data downloaded from USACO?

Hello Programmers,

I am curious on what the “test data” link on the USACO website does. I clicked on it and downloaded a bunch of files, but I have no idea how to make use of those files. They end with .in or .out. Are they test cases? Or they work in some different ways?

Grutrakh

The .in files are the input cases, while the .out files are the outputs.
For example, 1.in is an input case, and 1.out is the corresponding correct output.

Do I use them in an IDE?

You paste the .in file into your program’s input file, run it, and compare the output with the given corresponding .out files.