水题
他说少年如歌
现在不常看博客,有问题可通过qq联系,937035773.
展开
-
hdu 2566 统计硬币
水题: 硬币的个数确定为n 所以直接暴力就可以了 #include int main() { int t; scanf("%d",&t); while(t--) { int n,m,ans = 0; scanf("%d%d",&n,&m); for(int i = 0; i n; i++)原创 2016-04-26 10:22:00 · 279 阅读 · 0 评论 -
hdu 1577 WisKey的眼神
Problem Description WisKey的眼镜有500多度,所以眼神不大好,而且他有个习惯,就是走路喜欢看着地(不是为了拣钱哦^_^),所以大家下次碰见他的时候最好主动打下招呼,呵呵. 但是Rabbit总是喜欢扮神秘,一天WisKey去食堂排队等着买饭,突然收到一道短消息,是Rabbit发的,”呵呵,又看见你了,你没看到我吧”.WisKey马上拉长脖子扫描食堂,可是就是看不到,再发原创 2017-03-19 21:22:43 · 682 阅读 · 0 评论 -
hdu 1051 Wooden Sticks
Wooden Sticks Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 20782 Accepted Submission(s): 8400 Problem Description There is a pile of n原创 2017-04-04 19:56:07 · 188 阅读 · 0 评论 -
hdu 1800 Flying to the Mars
Flying to the Mars Time Limit: 5000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 19423 Accepted Submission(s): 6254 Problem Description In the year 88原创 2017-04-04 20:05:23 · 216 阅读 · 0 评论 -
hdu 1597 find the nth digit
Problem Description 假设: S1 = 1 S2 = 12 S3 = 123 S4 = 1234 ......... S9 = 123456789 S10 = 1234567891 S11 = 12345678912 ............ S18 = 123456789123456789 .................. 现在我们把所有的串连接起原创 2017-04-13 20:44:06 · 517 阅读 · 0 评论