Skip to content

Commit 4fff949

Browse files
committed
readme update
1 parent d67c882 commit 4fff949

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,24 @@ Github Email: [email protected]
2626
```
2727

2828
## Configuration
29+
**Custom Template**: Create a file named *template.cpp, template.py, template.java, template.js* for respective languages in the **working** directory to use this feature.
2930
**Languages Supported**: *cpp*(C++17) \[default\], *java*, *python*(CPython3), *javascript*(Node.js)
3031
Also you can manually edit the config at ```~/.cses/config.json```
3132
```
33+
$$$ cat template.cpp
34+
#include<bits/stdc++.h>
35+
using namespace std;
36+
37+
#define pr pair<int, int>
38+
#define f first
39+
#define s second
40+
#define mk make_pair
41+
42+
int main(){
43+
44+
return 0;
45+
}
46+
3247
$$$ cat ~/.cses/config.json
3348
{
3449
"csrf": "3e236b578af1e020070281xxxxxxxxxx",
@@ -45,6 +60,7 @@ $$$ cat ~/.cses/config.json
4560
}
4661
}
4762
```
63+
4864
## Screenshot
4965
```
5066
$$$ cses-cli login

0 commit comments

Comments
 (0)