blumia / blumiaoj Goto Github PK
View Code? Open in Web Editor NEWA HUSTOJ compatible Online Judge system.
License: MIT License
A HUSTOJ compatible Online Judge system.
License: MIT License
(换了个账号)
今天遇到一个问题,题目列表顺序变乱,1023题跑到了1006题后面。
原因不明,我对数据库不太懂。
尝试着把ajax_problemset.php 76-80行加了两个ORDER BY problem_id
if (!$isProblemManager) {
$sql=$pdo->prepare("SELECT `problem_id`,`title`,`source`,`submit`,`accepted`,`defunct`,`difficulty` FROM `problem` WHERE `defunct`='N' AND {$common_filter} AND `problem_id` NOT IN({$any_running_contest}) ORDER BY problem_id");
} else {
$sql=$pdo->prepare("SELECT `problem_id`,`title`,`source`,`submit`,`accepted`,`defunct`,`difficulty` FROM `problem` WHERE {$common_filter} ORDER BY problem_id");// limit $front,$PAGE_ITEMS
}
题目顺序就正常了。
对数据库不是特别懂,不知道我这么加,加的是否有问题?
这是一个小bug吗?
使用BBCode时
[code]
[/code]
之间的逗号会自动变为空格,<>号也有些问题(这个我倒是会解决,但是变成了空格我就解决不好了)
Thanks
之前HUSTOJ的帖子无法显示,
发帖子显示
Post failed!
Title or content can't be empty
十分感谢!
图片链接可以导入,本地无法导入,请教改如何设置 T T
你好,我现在装的是最新的hustoj.按照说明部署BLOJ不能用。提示无法连接数据库。请帮忙。能否留个联系方式,向你请教
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.