上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 19 下一页
摘要: Disharmony Trees HDU - 3015 One day Sophia finds a very big square. There are n trees in the square. They are all so tall. Sophia is very interesting 阅读全文
posted @ 2019-01-21 19:33 千摆渡Qbd 阅读(232) 评论(0) 推荐(0)
摘要: Xenia and Bit Operations CodeForces - 339D Xenia the beginner programmer has a sequence a, consisting of 2nnon-negative integers: a1, a2, ..., a2n. Xe 阅读全文
posted @ 2019-01-21 19:30 千摆渡Qbd 阅读(271) 评论(0) 推荐(0)
摘要: G - Gasoline Gym - 101908G #include<cstdio> #include<iostream> #include<algorithm> #include<cstring> #include<sstream> #include<cmath> #include<stack> 阅读全文
posted @ 2019-01-21 09:49 千摆渡Qbd 阅读(212) 评论(0) 推荐(0)
摘要: A - Bone Collector HDU - 2602 题意:给定背包的最大体积和物品的数量,每一个物品的价值和体积,01背包板子 题解:01背包 #include<cstdio> #include<iostream> #include<algorithm> #include<cstring> 阅读全文
posted @ 2019-01-20 22:07 千摆渡Qbd 阅读(212) 评论(0) 推荐(0)
摘要: A - Lake Counting POJ - 2386 题意:W是水洼,连起来的W算同一个水洼(是九宫格内的连起来) 解题思路:dfs搜索,搜索不到了就继续,每一个dfs都可以搜到一个水坑,简而言之,总的dfs的次数就是水坑的个数(dfs重新调用的dfs不算) #include<iostream> 阅读全文
posted @ 2019-01-20 21:35 千摆渡Qbd 阅读(351) 评论(0) 推荐(0)
摘要: When FJ's friends visit him on the farm, he likes to show them around. His farm comprises N (1 <= N <= 1000) fields numbered 1..N, the first of which 阅读全文
posted @ 2019-01-20 18:00 千摆渡Qbd 阅读(128) 评论(0) 推荐(0)
摘要: Flow Problem HDU - 3549 Network flow is a well-known difficult problem for ACMers. Given a graph, your task is to find out the maximum flow for the we 阅读全文
posted @ 2019-01-20 17:58 千摆渡Qbd 阅读(162) 评论(0) 推荐(0)
摘要: Hie with the Pie POJ - 3311 The Pizazz Pizzeria prides itself in delivering pizzas to its customers as fast as possible. Unfortunately, due to cutback 阅读全文
posted @ 2019-01-19 09:07 千摆渡Qbd 阅读(152) 评论(0) 推荐(0)
摘要: Building a Space Station POJ - 2031 You are a member of the space station engineering team, and are assigned a task in the construction process of the 阅读全文
posted @ 2019-01-19 09:03 千摆渡Qbd 阅读(163) 评论(0) 推荐(0)
摘要: Til the Cows Come Home poj-2387 #include<iostream> #include<cstdio> #include<algorithm> #include<cstring> #include<cmath> #include<cstdlib> #include<q 阅读全文
posted @ 2018-12-11 22:31 千摆渡Qbd 阅读(290) 评论(0) 推荐(0)
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 19 下一页