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 157 158 159 160 161 162 163 164 165 166 167 168 169 170
|
{ "title": "SYZOJ", // 网站名,可以改! "hostname": "0.0.0.0", // 不要改! "db": { "database": "syzoj", //若使用外部mysql数据库,请进行更改 "username": "syzoj", "password": "syzoj", "host": "mysql", "dialect": "mysql" }, "register_mail": false, // 见 https://github.com/syzoj/syzoj#邮件配置 "email": { "method": "aliyundm", "options": { "AccessKeyId": "xxxx", "AccessKeySecret": "xxxx", "AccountName": "xxxx" } }, "upload_dir": "uploads", // 评测数据上传目录 "default": { // 默认配置 "problem": { "time_limit": 1000, // 时间限制 "memory_limit": 256 // 内存限制 }, "user": { "show": true, "rating": 1500 } }, "sorting": { "ranklist": { "field": "rating", "order": "desc" }, "problem": { "field": "id", "order": "asc" } }, "limit": { "time_limit": 10000, "memory_limit": 1024, "data_size": 209715200, "testdata": 209715200, "submit_code": 102400, "submit_answer": 10485760, "custom_test_input": 20971520, "testdata_filecount": 5 }, "page": { "problem": 50, "problem_statistics": 10, "judge_state": 10, "ranklist": 20, "discussion": 10, "article_comment": 10, "contest": 10, "edit_contest_problem_list": 10, "edit_problem_tag_list": 10 }, "languages": { "cpp": { "show": "C++", "highlight": "cpp", "version": "GCC 5.4.0", "editor": "c_cpp" }, "cpp11": { "show": "C++11", "highlight": "cpp", "version": "GCC 5.4.0", "editor": "c_cpp" }, "csharp": { "show": "C#", "highlight": "csharp", "version": "MCS 4.8.0.0, Mono 4.8.0", "editor": "csharp" }, "c": { "show": "C", "highlight": "c", "version": "GCC 5.4.0", "editor": "c_cpp" }, "vala": { "show": "Vala", "highlight": "vala", "version": "Vala 0.30.1, GCC 5.4.0", "editor": "vala" }, "java": { "show": "Java", "highlight": "java", "version": "GCC 5.4.0", "editor": "java" }, "pascal": { "show": "Pascal", "highlight": "pascal", "version": "FPC 3.0.0", "editor": "pascal" }, "lua": { "show": "Lua", "highlight": "lua", "version": "Lua 5.2.4", "editor": "lua" }, "luajit": { "show": "LuaJIT", "highlight": "lua", "version": "LuaJIT 2.0.4", "editor": "lua" }, "python2": { "show": "Python 2", "highlight": "python", "version": "CPython 2.7.12", "editor": "python" }, "python3": { "show": "Python 3", "highlight": "python", "version": "CPython 3.5.2", "editor": "python" }, "nodejs": { "show": "Node.js", "highlight": "js", "version": "7.7.3", "editor": "javascript" }, "ruby": { "show": "Ruby", "highlight": "ruby", "version": "2.3.1", "editor": "ruby" }, "haskell": { "show": "Haskell", "highlight": "haskell", "version": "GHC 7.10.3", "editor": "haskell" }, "ocaml": { "show": "OCaml", "highlight": "ocaml", "version": "Ocamlbuild 4.02.3", "editor": "ocaml" }, "vbnet": { "show": "Visual Basic", "highlight": "vbnet", "version": "VBNC 0.0.0.5943, Mono 4.8.0", "editor": "vbscript" } }, "links": [ // 友链 { "title": "LibreOJ", "url": "https://loj.ac/" } ], "session_secret": "233", // session "judge_server_addr": "http://127.0.0.1:5284", // 评测机地址 "judge_token": "233", // 评测机 Token "email_jwt_secret": "test" // email jsonwebtoken secret }
|