正反两次最短路用于判断边是不是最短路上的边,把最短路径上的边取出来。然后求割边。#includeusing namespace std;typedef long long ll;#define fi first#define se second#define bug(x) coutdfn[u]) {...
分类:
其他好文 时间:
2015-08-21 18:58:29
阅读次数:
137
http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=3347
Picture Handling
Time Limit: 1 Second
Memory Limit: 32768 KB
Xiaoyao likes to play with pictures very much. When he ...
分类:
其他好文 时间:
2015-08-21 15:39:36
阅读次数:
193
1341 - Aladdin and the Flying Carpet
PDF (English)
Statistics
Forum
Time Limit: 3 second(s)
Memory Limit: 32 MB
It's said that Aladdin had to solve seven my...
分类:
其他好文 时间:
2015-08-21 13:39:49
阅读次数:
145
直接上代码: first?=?1
second?=?2
def?haha(first=first,second=second):#默认值是上面定义的两个变量
????print?"first:?%d"%first
????print?"second:?%d"%second
haha()
first?+=?5
secon...
分类:
编程语言 时间:
2015-08-21 11:35:25
阅读次数:
164
Factors and MultiplesPDF (English)StatisticsForumTime Limit:2 second(s)Memory Limit:32 MBYou will be given two sets of integers. Let's call them setAa...
分类:
其他好文 时间:
2015-08-21 10:51:33
阅读次数:
142
1370 - Bi-shoe and Phi-shoe
PDF (English)
Statistics
Forum
Time Limit: 2 second(s)
Memory Limit: 32 MB
Bamboo Pole-vault is a massively popular sport in Xzh...
分类:
其他好文 时间:
2015-08-21 09:33:40
阅读次数:
311
1251 - Forming the Council
PDF (English)
Statistics
Forum
Time Limit: 2 second(s)
Memory Limit: 32 MB
In a city there are n voters, and m people formed the Go...
分类:
其他好文 时间:
2015-08-21 09:31:54
阅读次数:
312
Trailing Zeroes (III)PDF (English)StatisticsForumTime Limit:2 second(s)Memory Limit:32 MBYou task is to find minimal natural numberN, so thatN!contain...
分类:
其他好文 时间:
2015-08-21 09:25:23
阅读次数:
193
1149 - Factors and Multiples
PDF (English)
Statistics
Forum
Time Limit: 2 second(s)
Memory Limit: 32 MB
You will be given two sets of integers. Let's call the...
分类:
其他好文 时间:
2015-08-21 00:13:50
阅读次数:
181
1.1连续时间和离散时间信号连续时间信号$x(t)$.离散时间信号$x[n]$.在$t_{1} \leq t \leq t_{2}$内的总能量对于一个连续时间信号$x(t)$定义为$\int_{t_{1}}^{t_{2}}\left | x(t) \right |^{2}dt$.其中$\left |...
分类:
其他好文 时间:
2015-08-20 23:49:13
阅读次数:
812