每日一题
perception952
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
一个数的n进制
#include <iostream> #include <cstring> using namespace std; int main() { int n,m; cin>>n>>m; char a[1001]; int i=0; while(n!=0){ a[i++] = n%m + '0'; n = n/m;...原创 2018-04-04 22:31:49 · 325 阅读 · 0 评论 -
java版杨辉三角
public List<List<Integer>> generate(int numRows){ List<List<Integer>> triangle = new ArrayList<List<Integer>>(); if(numRows == 0) { return triangle; }...转载 2018-10-28 22:24:06 · 179 阅读 · 0 评论
分享