从syzoj系统导入题目

This commit is contained in:
masnn committed 2020-04-17 12:47:45 +08:00
1 parent 97b0d782b9
commit ce3d11b999
12 files changed
+179 -34

No files matched your search

+4
View File
@@ -115,6 +115,10 @@ class Handler {
this.response.redirect = this.request.headers.referer || '/';
}
translate(str) {
return str ? str.toString().translate(this.user.language) : '';
}
binary(data, name) {
this.response.body = data;
this.response.template = null;