bhupixb

Subllime build

Dec 13th, 2019
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. {
  2. "shell_cmd": "ulimit -s 262144 && ulimit -v 1048576 && timeout 5s ./a.out <input.txt >output.txt ",
  3. "file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$",
  4. "working_dir": "${file_path}",
  5. "selector": "source.c, source.c++, source.cpp",
  6.  
  7. "variants":
  8. [
  9. {
  10. "name": "Run",
  11. "shell_cmd": "g++ -std=c++11 \"${file}\" && ulimit -s 262144 && ulimit -v 1048576 && timeout 5s ./a.out <input.txt >output.txt ",
  12. "file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$",
  13. "working_dir": "${file_path}",
  14. "selector": "source.c, source.c++, source.cpp",
  15. }
  16. ]
  17. }
Add Comment
Please, Sign In to add comment