New MVC Version of SNGOJ, built for CCCCWI. Build based on INVO example of phalconphp
中国福利会少年宫的机智 OJ,这是一个试验版本 o(^▽^)o 然而我把它的名字叫做 CloudOJ, 听起来大概很有感觉。
CloudOJ is under Apache License.
echo sprintf("iSkyZH%s163.com", "@");
echo sprintf("iSkyZH%sgmail.com", "@");
See CloudOJWatcher for Watcher
- git clone ...
- Setup PHP and install Phalcon
- Goto MySQL Database, excute SQL Script, Then add oj user in database
- Clone CloudOJ into <apache htdocs>/oj
- Make config file at oj/app/config/config.ini
- Edit database (For example, add Groups)
- Start using OJ at localhost/oj, and then register a user
- Goto MySQL Database, go to the user you registered in table user, change groupid to 1 to get admin premission
CloudOJ use the Gravator Service and use V2EX's Gravator CDN.
To use data saved in file, put your file in /cloudojroot/ojdata/.in and .out, then select type of File, type .in in the dat_in textarea and .out in the dat_out area.
We will filter '\r' in your input.
CloudOJ's Status Watcher will automatically cache data file. To refresh data, you can:
- Goto /CloudOJWatcher/data/prob and
rm *
- Change the data's name after it is edited
Score Required: 0, 100, 2333333
Name: Naive, Beginner, Super
You must have a group whose score is 0, as well as a group whose score is LARGE ENOUGH.
[database]
adapter = Mysql
host = localhost
username = ojroot
password = abcdefghijklmnopqrstuvwxyz
name = oj
[application]
controllersDir = app/controllers/
modelsDir = app/models/
viewsDir = app/views/
pluginsDir = app/plugins/
formsDir = app/forms/
libraryDir = app/library/
baseUri = /oj/
[watcher]
apikey = abcdefghijklmnopqrstuvwxyz
[crypt]
key = 23333333333333
- Problem Premission Web Interface
- Discuss System
- Contest System
- Change Password, Change Username
- Github OAuth Login
- Avatar System