xjia1 / oj Goto Github PK
View Code? Open in Web Editor NEWSJTU Online Judge
Home Page: http://acm.sjtu.edu.cn/OnlineJudge/
SJTU Online Judge
Home Page: http://acm.sjtu.edu.cn/OnlineJudge/
把"-x"改成“xY”, 如“-2”改成“2Y”
需要有评测超时机制,评测端挂掉之后能自动重测。
可以添加开始评测时间戳,超时后自动 rejudge。
add tags in dashboard / problem page
比如链接到某个题目,就用 <a href="..." target="problem_1234">
需要增加的提示包括:
提示的形式,可以是直接在表头里“运行编号”和“评测结果”这两个文字上面加 tooltip,也可以是在旁边弄一个小的 icon,鼠标移上去显示 tooltip
tooltip 就用:http://twitter.github.com/bootstrap/javascript.html#tooltips
icon 就用:http://twitter.github.com/bootstrap/base-css.html#icons
icon-question-sign
或者icon-info-sign
都可以
此外,鼠标悬停在一条记录上的时候,会显示出重新提交的图标,需要对此图标增加 tooltip,提示“重新提交”;在评测记录详情的页面里也一样
We have already Accounts for acm students profiles,
and we may have more and more services for acm students.
It is better if we use one account for all acm-class services.
The online judge may support external users.
But it is still useful for the internal acm students if one account is supported.
Is this issue related to Issue #5
就是包含“提交此题”的那个<aside class="span3">
悬浮可以用 http://twitter.github.com/bootstrap/javascript.html#affix
2001题两个简单的单层循环,提交三次,一次50分,5个点超时,一次90分,1个点超时,一次通过,耗时最长的点只有不到0.5s
代码如下:
#include <iostream>
using namespace std;
long n,sum[11000]={0};
long m;
int main()
{
cin >> n;
for (int i=1,tmp;i<=n;i++)
{
cin >> tmp;
sum[i]=sum[i-1]+tmp;
}
cin >> m;
for (int i=1,a,b;i<=m;i++)
{
cin >> a >> b;
cout << sum[b]-sum[a-1]<< endl;
}
return 0;
}
3039题MLE代码主要的内存使用
#define maxbit 27
struct big_int
{
long num[maxbit],bit;
bool flag;
static const long mod=10000;
};
big_int a[200010]={0},tmp[200010]={0};
仅有不到43000K,win7下用cena测试也显示不到50000K,但OJ上提示MLE;
该题AC后的代码主要的内存使用
#define compbit 14
struct big_int
struct comp_int
{
long num[compbit],bit;
bool flag;
static const long mod=100000000;
};
comp_int a[200010]={0},tmp[200010]={0};
超过了20000K,但OJ上前几个测试点显示内存消耗仅5000K左右
参考:http://twitter.github.com/bootstrap/examples/sticky-footer.html
就是下面这一段的地方:
Powered by PHP Technologies | Contributors
Copyright © 2011-2012 ACM Class. All rights reserved.
0.05185 sec - 0 queries - 0 sec @ portal
在一个大一点的屏幕上看 http://acm.sjtu.edu.cn/OnlineJudge/page/contributors 这个页面就不太好看,如果能把 footer 移下去就会好一些
Should distinguish "no submission" and "failed submissions" in contest board.
The bug is due to the famous PHP 0/""/null problem.
Questions should be explicitly published by contest admin, instead of being published automatically after being answered.
rt。第一次输入的帐号有问题,无法直接修改
至record页面该用户该题的提交记录
经常显示“正确”但是report里分数不到100,重测之后就会100分
Should provide standalone contest admin data model, instead of relying on the SUPER USER feature.
改为 Bootstrap 的 radio button
http://twitter.github.com/bootstrap/javascript.html#buttons
但和 Bootstrap 网站上说的不同,我们需要使用<input type="radio"
,这样可以不修改后台代码
某些人狂按提交屠版评测,素质极低,严重影响游戏体验。
Is it difficult to support more programming languages?
If not, it is better to support as many programming languages as possible.
It is useful for someone who practice a new touched languages.
Need better redirection to dashboard after form submission.
Now it always redirects to the top of the dashboard without the hash part.
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.