华为2017笔试题 公司年会

题目:ios 这个题目若是用递归的函数的话,主要就是要避免死循环函数 代码(没地方提交,不知道对不对):spa #include <iostream> #include<algorithm> using namespace std; int list[30], key = 0; void add(int a) { if (key >= 30)return; for (int i = 0; i <
相关文章
相关标签/搜索