问题:Ignatius has just come back school from the 30th ACM/ICPC. Now he has a lot of homework to do. Every teacher gives him a deadline of handing in the...
分类:
其他好文 时间:
2015-06-11 18:50:10
阅读次数:
128
Description
Japan plans to welcome the ACM ICPC World Finals and a lot of roads must be built for the venue. Japan is tall island with N cities on the East coast and M cities on the West coast (M <...
分类:
其他好文 时间:
2015-06-03 21:38:18
阅读次数:
143
ACM-ICPC现场赛管理员配置指南---华东理工大学上海邀请赛总结
0. 说点什么呢
其实所有机器其实都很稳定,人品有多差才会让一个机器崩溃呢,不过重要机器备份还是要做,毕竟比赛重大。Ubuntu镜像下载地址http://mirrors.163.com/ubuntu-releases/12.04.5/(服务器下64位server版,其它机器下32位desktop版),下载之后用w...
分类:
其他好文 时间:
2015-05-29 15:55:16
阅读次数:
256
这个要理解对于二进制位的处理,运用强大的位运算。#include
#include
#include
#include
#include
#include
#define inf 0x3f3f3f3f
#define maxn (10+100000)
using names...
分类:
其他好文 时间:
2015-05-25 16:41:30
阅读次数:
133
区间更新
区间求和
思想:懒处理,对于区间更新不需要将更新具体到叶子结点,只在需要更新的时候,再细化处理。代码:import java.util.Scanner;class SegmentTree{
class Node{
int left;
int right;
long sum;
long addValue;
}...
分类:
其他好文 时间:
2015-05-23 20:08:05
阅读次数:
130
Problem DescriptionMany geometry(几何)problems were designed in the ACM/ICPC. And now, I also prepare a geometry problem for this final exam. According ...
分类:
其他好文 时间:
2015-05-21 21:43:33
阅读次数:
129
Problem DescriptionMany geometry(几何)problems were designed in the ACM/ICPC. And now, I also prepare a geometry problem for this final exam. According ...
分类:
其他好文 时间:
2015-05-21 19:09:59
阅读次数:
112
Link: https://www.hackerrank.com/challenges/acm-icpc-team/submissions/code/11617807 1 def count_max_topics(konw_topics): 2 max_topics = 0 3 m...
分类:
其他好文 时间:
2015-05-13 19:00:24
阅读次数:
294
Github地址:ACM-ICPC-Code-Template-Latex
首先你要有:你自己的ACM-ICPC模版库,Latex发行版软件。
然后你可以:生成一个漂亮的pdf文件,里面是你的模版。
效果图:template.pdf
用法:Linux用户直接make就可以了(如果没有安装latex,安装一下texlive-full就okay);Windows用户编译运行main.cpp之后...
分类:
其他好文 时间:
2015-05-11 14:52:13
阅读次数:
143