Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "shell_cmd": "ulimit -s 262144 && ulimit -v 1048576 && timeout 5s ./a.out <input.txt >output.txt ",
- "file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$",
- "working_dir": "${file_path}",
- "selector": "source.c, source.c++, source.cpp",
- "variants":
- [
- {
- "name": "Run",
- "shell_cmd": "g++ -std=c++11 \"${file}\" && ulimit -s 262144 && ulimit -v 1048576 && timeout 5s ./a.out <input.txt >output.txt ",
- "file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$",
- "working_dir": "${file_path}",
- "selector": "source.c, source.c++, source.cpp",
- }
- ]
- }
Add Comment
Please, Sign In to add comment