07 2017 档案

HDU6043 KazaQ's Socks
摘要:Problem Description KazaQ wears socks everyday.At the beginning, he has n pairs of socks numbered from 1 to n in his closets. Every morning, he puts o 阅读全文

posted @ 2017-07-31 11:55 gnosed 阅读(232) 评论(0) 推荐(0)

HDU1124 Factorial
摘要:Problem Description The most important part of a GSM network is so called Base Transceiver Station (BTS). These transceivers form the areas called cel 阅读全文

posted @ 2017-07-31 11:54 gnosed 阅读(172) 评论(0) 推荐(0)

HDU1058 Humble Numbers(DP)
摘要:Problem Description A number whose only prime factors are 2,3,5 or 7 is called a humble number. The sequence 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 14, 15 阅读全文

posted @ 2017-07-31 11:48 gnosed 阅读(155) 评论(0) 推荐(0)

HDU1049 Climbing Worm
摘要:Problem Description An inch worm is at the bottom of a well n inches deep. It has enough energy to climb u inches every minute, but then has to rest a 阅读全文

posted @ 2017-07-31 11:45 gnosed 阅读(135) 评论(0) 推荐(0)

HUD1048 The Hardest Problem Ever
摘要:Problem Description Julius Caesar lived in a time of danger and intrigue. The hardest situation Caesar ever faced was keeping himself alive. In order 阅读全文

posted @ 2017-07-31 11:43 gnosed 阅读(254) 评论(0) 推荐(0)

HDU1047 Integer Inquiry
摘要:Problem Description One of the first users of BIT's new supercomputer was Chip Diller. He extended his exploration of powers of 3 to go from 0 to 333 阅读全文

posted @ 2017-07-31 11:39 gnosed 阅读(175) 评论(0) 推荐(0)

HDU1042 N!(大整数类应用)
摘要:Problem Description Given an integer N(0 ≤ N ≤ 10000), your task is to calculate N! Input One N in one line, process to the end of file. Output For ea 阅读全文

posted @ 2017-07-31 11:36 gnosed 阅读(346) 评论(0) 推荐(0)

HDU1039 Easier Done Than Said?
摘要:Problem Description Password security is a tricky thing. Users prefer simple passwords that are easy to remember (like buddy), but such passwords are 阅读全文

posted @ 2017-07-31 11:32 gnosed 阅读(192) 评论(0) 推荐(0)

HDU1036 Average is not Fast Enough!
摘要:Problem Description A relay is a race for two or more teams of runners. Each member of a team runs one section of the race. Your task is to help to ev 阅读全文

posted @ 2017-07-31 11:28 gnosed 阅读(212) 评论(0) 推荐(0)

HDU1035 Robot Motion
摘要:Problem Description A robot has been programmed to follow the instructions in its path. Instructions for the next direction the robot is to move are l 阅读全文

posted @ 2017-07-31 11:26 gnosed 阅读(143) 评论(0) 推荐(0)

HDU1034 Candy Sharing Game
摘要:Problem Description A number of students sit in a circle facing their teacher in the center. Each student initially has an even number of pieces of ca 阅读全文

posted @ 2017-07-31 11:24 gnosed 阅读(124) 评论(0) 推荐(0)

HDU1031 Design T-Shirt
摘要:Problem Description Soon after he decided to design a T-shirt for our Algorithm Board on Free-City BBS, XKA found that he was trapped by all kinds of 阅读全文

posted @ 2017-07-31 11:22 gnosed 阅读(130) 评论(0) 推荐(0)

HDU1027 Ignatius and the Princess II
摘要:Problem Description Now our hero finds the door to the BEelzebub feng5166. He opens the door and finds feng5166 is about to kill our pretty Princess. 阅读全文

posted @ 2017-07-31 11:18 gnosed 阅读(152) 评论(0) 推荐(0)

HDU1015 Safecracker
摘要:Problem Description "The item is locked in a Klein safe behind a painting in the second-floor library. Klein safes are extremely rare; most of them, a 阅读全文

posted @ 2017-07-31 11:15 gnosed 阅读(120) 评论(0) 推荐(0)

习题2-6
摘要:排列(permutation) 用1,2,3,…,9组成3个三位数 abc, def, 和ghi,每个数字恰好使用一次,要求 abc:def:ghi = 1:2:3。输出所有解。提示:不必太动脑筋。 思路:设i从123到329,j=2*i,k=3*i。分解i,j,k的各个位数,用一个长度为9、下标从 阅读全文

posted @ 2017-07-31 10:39 gnosed 阅读(121) 评论(0) 推荐(0)

HDU1113 Word Amalgamation
摘要:Description In millions of newspapers across the United States there is a word game called Jumble. The object of this game is to solve a riddle, but i 阅读全文

posted @ 2017-07-19 23:06 gnosed 阅读(163) 评论(0) 推荐(0)

《算法竞赛入门经典》之开发环境与方法小收获
摘要:1.windows下的命令 6.15 cmd 打开命令窗口 dir 文件列表 cd\md\rd 改变\创建\删除目录 cd\ 返回根目录 more\type 显示文件内容 fc 比较两个文件内容 del 删除文件 copy\xcopy 文件名+目标目录 复制文件 ren 原名+改名 文件改名 fin 阅读全文

posted @ 2017-07-02 22:18 gnosed 阅读(159) 评论(0) 推荐(0)

导航