Change how competitest works
This commit is contained in:
parent
79739f6cc1
commit
ea9bb853bd
@ -7,9 +7,14 @@ return {
|
|||||||
-- c = "~/.config/nvim/templates/template.c"
|
-- c = "~/.config/nvim/templates/template.c"
|
||||||
-- }
|
-- }
|
||||||
template_file = "~/.config/nvim/templates/template.$(FEXT)",
|
template_file = "~/.config/nvim/templates/template.$(FEXT)",
|
||||||
|
received_contests_directory = "/tmp/Competitive Programming/$(JUDGE)/$(CONTEST)",
|
||||||
compile_command = {
|
compile_command = {
|
||||||
c = { exec = "gcc", args = { "-Wall", "-g", "-DDEBUG", "-fsanitize=address", "$(FNAME)", "-o", "$(FNOEXT)" } },
|
c = { exec = "gcc", args = { "-Wall", "-g", "-DDEBUG", "-fsanitize=address,undefined", "$(FNAME)", "-o", "$(FNOEXT).out" } },
|
||||||
cpp = { exec = "g++", args = { "-Wall", "-g", "-DDEBUG", "-fsanitize=address", "$(FNAME)", "-o", "$(FNOEXT)" } },
|
cpp = { exec = "g++", args = { "-Wall", "-g", "-DDEBUG", "-fsanitize=address,undefined", "$(FNAME)", "-o", "$(FNOEXT).out" } },
|
||||||
},
|
},
|
||||||
|
run_command = {
|
||||||
|
c = { exec = "./$(FNOEXT).out" },
|
||||||
|
cpp = { exec = "./$(FNOEXT).out" }
|
||||||
|
}
|
||||||
} end
|
} end
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user