- 博客(4)
- 问答 (1)
- 收藏
- 关注
原创 【C++】力扣LeetCode 210. 课程表 II 之 深度优先遍历和广度优先遍历
力扣LeetCode 210. 课程表 II 深度优先遍历和广度优先遍历(C++)
2022-05-15 13:57:27
355
转载 malloc calloc new 区别
1、函数的原型: void *malloc(sizt_t size); void *calloc(size_t numElements,size_t sizeOfElement); 2、函数的声明与头文件 void *malloc(int size); 3、函数的嗲用: //功能:返回类型为 int* 类型(整数型指针),分配大小为 sizeof(int) * 10 in
2017-09-29 12:40:54
225
原创 UVa1586
/*1586--*/ #include #include #define N 100 char s[N]; int main() { double count,sum; int length,i,j; int T,n; scanf("%d",&T); for(j=0;j<T;j++) { count=0.0; sum=0.0; n=0; sc
2016-08-19 19:06:29
257
空空如也
将字符常量ba赋给一个int变量,用printf输出结果是怎么来的?
2016-07-20
TA创建的收藏夹 TA关注的收藏夹
TA关注的人