摘要:
题目:POJ-2159-Ancient Cipher哈希,映射可以是随机的!!! 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 8 using namespace std; 9 10 char sa[110... 阅读全文
posted @ 2015-01-26 20:58
alohagin
阅读(133)
评论(0)
推荐(0)
摘要:
题目:UVA-11039-Building designing根据绝对值排序。 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 8 using namespace std; 9 10 int a[500010... 阅读全文
posted @ 2015-01-26 20:17
alohagin
阅读(104)
评论(0)
推荐(0)
摘要:
题目:UVA-11636-Hello World!贪心。 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 8 using namespace std; 9 10 int main()11 {12 in... 阅读全文
posted @ 2015-01-26 15:34
alohagin
阅读(121)
评论(0)
推荐(0)
摘要:
题目:UVA-10881-Piotr's Ants思路:模拟,看成对穿而过求终状态,然而相对顺序不变,排序即可。 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 8 using namespace std; ... 阅读全文
posted @ 2015-01-26 10:57
alohagin
阅读(145)
评论(0)
推荐(0)

浙公网安备 33010602011771号