摘要: import java.util.ArrayDeque; import java.util.ArrayList; import java.util.Queue; import java.util.Scanner; public class Main { static ArrayList<String 阅读全文
posted @ 2015-07-13 12:11 wojiaohuangyu 阅读(12) 评论(0) 推荐(0)
摘要: 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1018 看了别人的解析,顿悟了。。。。。 <pre name="code" class="cpp">#include<stdio.h> #include<math.h> int main(){ int n 阅读全文
posted @ 2015-07-13 10:53 wojiaohuangyu 阅读(6) 评论(0) 推荐(0)
摘要: 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1058 #include<stdio.h> #include<string.h> int dp[6000]={0,1}; char str[5][5]={"th","st","nd","rd"}; int 阅读全文
posted @ 2015-07-13 10:11 wojiaohuangyu 阅读(5) 评论(0) 推荐(0)