Add .ans extension for the auto_fill_testcase feature

This commit is contained in:
thanhluong 2020-05-03 17:42:02 +00:00
parent 463711994a
commit f0b1d7b6ae

View file

@ -235,7 +235,7 @@
if (window.valid_files[i].endsWith(".in") || window.valid_files[i].endsWith(".inp") || window.valid_files[i].endsWith(".IN") || window.valid_files[i].endsWith(".INP")) {
inFiles.push(window.valid_files[i]);
}
if (window.valid_files[i].endsWith(".out") || window.valid_files[i].endsWith(".OUT")) {
if (window.valid_files[i].endsWith(".out") || window.valid_files[i].endsWith(".ans") || window.valid_files[i].endsWith(".OUT") || window.valid_files[i].endsWith(".ANS")) {
outFiles.push(window.valid_files[i]);
}
}