07 2017 档案
摘要:在LeetCode上遇到这样返回值 public class Solution { public List<List<Integer>> levelOrder(TreeNode root) { }}List<List<Integer>> 即List的内容是List的类型,直接使用List<List<
阅读全文
摘要:多线程编程时用到函数库 pthread.h ,但是该函数库不是linux默认的函数库,所以编译c文件时,需要在目标代码文件后加上 -lpthread参数。 1.未加上 -lpthread 编译时,报错如下: 2.正确命令: gcc multiTread.c -lpthread 其中 multiTre
阅读全文

浙公网安备 33010602011771号