![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C++
文章平均质量分 50
viewsky11
这个作者很懒,什么都没留下…
展开
-
简易恋爱游戏程序 C++
#include#includeusing namespace std;class Boy{public:bool House;int Age;char Name[20];public:Boy(char *name);bool Gift(char gift);int AnnualSalary(int salary);}; Boy::Boy(c原创 2012-04-21 10:02:13 · 1988 阅读 · 0 评论 -
Trapping Rain Water 收集雨水 C/C++
Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raining.For example, Given [0,1,0,2,1,0,1,3,2,1,2,1], ...原创 2018-06-04 18:52:31 · 895 阅读 · 0 评论