forked from SSTIA/fun-portal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yaml
156 lines (156 loc) · 3.71 KB
/
config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
base:
db: mongodb://localhost/portal
redis: redis://localhost
secret: your_secret
displayPort: false
port: 3000
host: http://127.0.0.1
cspReportUrl: /
urlPrefix: ''
cdnPrefix: ''
oauthDebug: false # legacy sso needs to be bypassed (?)
scoreboard:
cacheDuration: 60000 # 10 minutes
web:
realtimePush: true # disable realtime push if you have many judgers
api:
credential:
username: foo
password: bar
compile:
display:
gcc99: GNU C 7.2.0 (-O3 -std=c99)
gcc11: GNU C 7.2.0 (-O3 -std=c11)
clang99: LLVM / Clang 5.0.0 (-O3 -std=c99)
clang11: LLVM / Clang 5.0.0 (-O3 -std=c11)
g++98: GNU C++ 7.2.0 (-O3 -std=c++98)
g++11: GNU C++ 7.2.0 (-O3 -std=c++11)
g++14: GNU C++ 7.2.0 (-O3 -std=c++14)
g++17: GNU C++ 7.2.0 (-O3 -std=c++17)
clang++98: LLVM / Clang 5.0.0 (-O3 -std=c++98)
clang++11: LLVM / Clang 5.0.0 (-O3 -std=c++11)
clang++14: LLVM / Clang 5.0.0 (-O3 -std=c++14)
clang++17: LLVM / Clang 5.0.0 (-O3 -std=c++17)
python2: Python 2.7.14
python3: Python 3.6.3
node.js: Node.js 9.11.1
limits:
sizeOfCode: 1048576 # 1 MB
sizeOfBin: 1048576 # 1 MB
sizeOfText: 102400 # 100 KB
submitInterval: 60000 # 1 minute
minSubmitInterval: 60000 # 1 minute
maxExecQuota: 36000000 # 10 hours
match:
rules:
moveTimeout: 5000 # 5 s
roundTimeout: 180000 # 180 s
memoryLimit: 367001600 # 350 MB
width: 15
height: 15
winningStones: 5
rounds: 3
openings:
- opening1
- opening2
- opening3
- opening4
- opening5
- opening6
- opening7
- opening8
- opening9
- opening10
- opening11
- opening12
- opening13
- opening14
- opening15
- opening16
- opening17
- opening18
- opening19
- opening20
- opening21
- opening22
- opening23
- opening24
- opening25
- opening26
profiling:
eventBus: false
addMatches: false
mq:
vhosts:
/:
connection:
hostname: localhost
user: guest
password: guest
queues:
- gomoku_compile
- gomoku_judge
publications:
compile:
queue: gomoku_compile
judge:
queue: gomoku_judge
jaccount:
client_id: # fill in your SJTU OAuth2 ID
client_secret: #fill in your SJTU OAuth2 secret
rating:
titles: # Based on Codeforces
-
title: Newbie
range: [-Infinity, 1200]
color: gray
factor: 32
-
title: Pupil
range: [1200, 1400]
color: green
factor: 32
-
title: Specialist
range: [1400, 1600]
color: '#03A89E'
factor: 32
-
title: Expert
range: [1600, 1900]
color: blue
factor: 32
-
title: Candidate Master
range: [1900, 2200]
color: '#a0a'
factor: 32
-
title: Master
range: [2200, 2300]
color: '#FF8C00'
factor: 24
-
title: International Master
range: [2300, 2400]
color: '#FF8C00'
factor: 24
-
title: Grandmaster
range: [2400, 2600]
color: red
factor: 16
-
title: International Grandmaster
range: [2600, 2900]
color: red
factor: 16
-
title: Legendary Grandmaster
range: [2900, Infinity]
color: red
factor: 16
unrated:
title: Unrated
color: black
factor: 32