# |
|
= |
---|---|---|
![]() |
南柯 | 2023 |
![]() |
cxlove | 1970 |
![]() |
vainner | 1763 |
4 | 1000310428赵成帅 | 1718 |
5 | XiaoWen | 1710 |
6 | 1000380213洪伟焕 | 1701 |
7 | weiben | 1684 |
8 | Jungle | 1678 |
9 | 1100310131曾翔宇 | 1664 |
10 | hongwh | 1653 |
-
Online Judge使用帮助,升级更新,意见和Bug报告帖
# 最好的跨平台Online Judge ## Table of contents * [安装或者开发指导](#安装或者开发指导) * [演示地址](#演示地址) * [平台简介](#平台简介) * [支持特性](#支持特性) * [目录说明](#目录说明) * [部署指导](#部署指导) * [运行环境](#运行环境) * [部署网站](#部署网站) * [部署判题核心](#部署判题核心) * [高级配置](#高级配置) * [熟悉命令行](#熟悉命令行) * [Judger基础配置](#judger基础配置) * [Virtual Judge配置](#virtual-judge配置) * [Telnet配置](#telnet配置) * [FTP配置](#FTP配置) * [日常维护命令](#日常维护命令) * [Linux下部署](#Linux下部署) * [特别鸣谢](#特别鸣谢) ## 安装或者开发指导: XXXX ## 演示地址: http://happyoj.com HappyOJ当前支持的程序语言,如需添加其他语言或者...
-
springboot Thymeleaf前台时间显示少了12小时
springboot Thymeleaf前台时间显示少了12小时! 大意了,时间小写hh是12小时制的,要显示24小时制的就要大写HH,所以应该改为: `th:title="${#dates.format(solution.submit_date,'yyyy-MM-dd hh:mm:ss')}"` 改为 `th:title="${#dates.format(solution.submit_date,'yyyy-MM-dd HH:mm:ss')}"`
-
struts 2.3 升级到 2.5.30后过滤器超时问题解决
struts 2.3 升级到 2.5.30后过滤器超时报错: Connection timed out: connect - [unknown location] com.opensymphony.xwork2.util.DomHelper.parse(DomHelper.java:120) com.opensymphony.xwork2.validator.DefaultValidatorFileParser.parseActionValidatorConfigs(DefaultValidatorFileParser.java:84) com.opensymphony.xwork2.validator.AnnotationActionValidatorManager.loadFile(AnnotationActionValidatorManager.java:380) com.opensymphony.xwork2.validator.AnnotationActionValidatorManager.buildClassValidatorConfigs...
-
一个无向图G=(V,E),顶点集合V={1,2,3,4,5,6,7},边集合{(1,2),(1,3),(2,4),(3,4),(4,5),(...
一个无向图G=(V,E),顶点集合V={1,2,3,4,5,6,7},边集合{(1,2),(1,3),(2,4),(3,4),(4,5),(4,6),(5,7),(6,7)},从顶点1出发进行深度优先遍历,可能得到的顶点序列有哪些? A、1 2 4 6 7 5 3 B、1 3 4 5 6 7 2 C、1 3 4 2 5 7 6 D、1 2 4 3 6 5 7 答案:AC 这道题为何选AC,无向图是什么?
-
strdup函数是什么用法?
strdup函数是什么用法?在信号处理函数和多线程函数中是否能使用strdup
-
Linux tomcat 启动
方式一:直接启动 ./startup.sh 方式二:作为服务启动 nohup ./startup.sh & 方式三:控制台动态输出方式启动 ./catalina.sh run 动态地显示tomcat后台的控制台输出信息,Ctrl+C后退出并关闭服务 tail -f catalina.out
-
suse安装mysql
下载安装包:wget https://cdn.mysql.com//archives/mysql-5.7/mysql-boost-5.7.22.tar.gz 安装依赖包:zypper install ncurses-devel 解压: tar
-
Online-Judge段位说明
1、系统采用ELO Rating System算法,根据计算每次比赛排名进行计算。 2、参与竞赛后的初始Rating为1500,并赋予预备专家称号,经过多轮竞赛后会迅速收敛逼近真实水平。 3、各个段位的Rating范围以及颜色 rating 称号 水平 [3000, inf) International Grandmaster 红 宇宙最强,没有之一 [2600,3000) Grandmaster 火红 &nbs...
-
从零开始用python搭建网站(二)
参考:http://www.runoob.com/django/django-first-app.html。 模板应用实例 我们接着上一章节的项目将在 HelloWorld 目录底下创建 templates 目录并建立 hello.html文件,整个目录结构如下: hello.html 文件代码如下:
-
从零开始用python搭建网站(一)
作为一名初级玩家,只会用python实现简单的功能,目前打算使用python搭建一个简单的网站, Python下有许多款不同的 Web 框架。Django是重量级选手中最有代表性的一位。许多成功的网站和APP都基于Django。 Django是一个开放源代码的Web应用框架,由Python写成。 Django遵守BSD版权,初次发布于2005年7月, 并于2008年9月发布了第一个正式版本1.0 。 Django采用了MVC的软件设计模式,即模型M,视图V和控制器C。
-
发布一个命令行接口封装库libcli
什么是libcli libcli是一个命令行接口封装库,可用于嵌入式操作系统的命令行管理,类似思科、华三交换机的命令行管理技术。
-
【OJ源码分享】友好时间实现
大家都看到在话题中,有些时间是“一分钟前”、“昨天”,“一个月前”之类的时间,这样会显得比较友好。 OJ中是这样实现的: public String getFriendlyDate(Date time){ if(time == null) return getText("unknown"); int ct = (int)((System.currentTimeMillis() - time.getTime())/1000); if(ct < 3600) return Math.max(ct / 60,1) +getText("minutes_before"); if(ct >= 3600 && ct < 86400) return ct / 3600 +getText("hours_before"); if(ct >= 86400 && ct < 2592000){ //86400 * 30 int day = ct / 86400 ; if(day>1){ return day ...
-
【C语言】关于i++和++i的又一个话题
#include<stdio.h> main() { int count=0; printf("%d %d %d\n",count++,count++,count++); printf("%d %d %d\n",++count,++count,++count); return 0; } /* 0 0 0 6 5 4 */ 为啥?请看Disassembly: 4: int count=0; 00401028 mov dword ptr [ebp-4],0 5: printf("%d %d %d\n",count++,count++,count++); 0040102F mov eax,dword ptr [ebp-4] 00401032 mov dword ptr [ebp-8],eax 00401035 mov ecx,dword ptr [ebp-8] 00401038 push ecx 00401039 mov...
-
Online Judge内核安全防护——API Hook
Online Judge新增安全防护——API Hook:在Windows,64位系统调试OK。 参见:https://gitee.com/jungle/online-judge/tree/master/judger-kernel/code/product/hook 直接上代码了: /* Online judge 最重要的安全防护技术: API-HOOK */ #include #include #include #include #include #include #pragma comment(lib,"ws2_32") #define BOOL_OK 1 #define BOOL_ERR 1 typedef struct { LPCSTR szCalleeModName; LPCSTR oldFuncName; PROC newFuncAddr; PROC oldFuncAddr; } API_FUNC_ID; int APIHOOK_TRACE(char *szFuncName) { //printf("API Hook:%s.\r\...