OJ Question
慢慢来比较快
不拼搏,枉少年。
展开
-
HDOJ 1002
大数据相加问题,问题链接:http://acm.hdu.edu.cn/showproblem.php?pid=1002 #include #include using namespace std; int main(void) { int Line1[1010]; int Line2[1010]; char Input1[1010]; char Input原创 2013-05-12 21:09:34 · 492 阅读 · 0 评论 -
爱因斯坦难题的C语言程序设计
题目是: 1、 在一条街上,有5座房子,喷了5种颜色。 2、 每个房里住着不同国籍的人 3、 每个人喝不同的饮料,抽不同品牌的香烟,养不同的宠物 约束条件: 1、 英国人住红色房子 2、 瑞典人养狗 3、 丹麦人喝茶 4、 绿色房子在白色房子左面 5、 绿色房子主人喝咖啡 6、 抽Pall Mall 香烟的人养鸟 7、 黄色房子主人抽、Dunhill 香烟转载 2013-05-22 21:55:42 · 680 阅读 · 0 评论 -
HDOJ 使用 容器类的 简单 题目
1 HDOJ 1029 http://acm.hdu.edu.cn/showproblem.php?pid=1029 题目: Problem Description "OK, you are not too bad, em... But you can never pass the next test." feng5166 says. "I will tell you原创 2013-06-02 21:33:29 · 569 阅读 · 0 评论