Are the input files present in the online judge or we generate it through custom input?The output files are generated by our program and are compared with the output files of the judge right?
Input file and output file
@Senjuti256 the input files are also generated by the problem setter, the judge runs the input files for your code and matches your output with the expected output.