Add script for vscode

This commit is contained in:
daleclack 2021-11-17 21:58:48 +08:00
parent 0f8f1abba8
commit 1a86387e6f
2 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,11 @@
//http://acm.hdu.edu.cn/showproblem.php?pid=2004
#include <cstdio>
int main(int argc,char ** argv){
int score;
while (scanf("%d",&score)!=EOF)
{
/* code */
}
return 0;
}

1
run_code_as_root.sh Normal file
View File

@ -0,0 +1 @@
sudo code --user-data-dir=$HOME/.config/Code --no-sandbox