摘要:
class Solution { public: vector<vector<int>> fourSum(vector<int>& nums, int target) { vector<vector<int>> ans; long long tmp=target; sort(nums.begin() 阅读全文
posted @ 2023-03-16 21:48
穿过雾的阴霾
阅读(16)
评论(0)
推荐(0)
摘要:
1. 运行程序无事发生 #include <sys/types.h> #include <unistd.h> #include <iostream> using namespace std; int main() { int *x = NULL; free(x); return 0; } 2. gd 阅读全文
posted @ 2023-03-16 20:03
穿过雾的阴霾
阅读(35)
评论(0)
推荐(0)
摘要:
1. #include <sys/types.h> #include <unistd.h> #include <iostream> using namespace std; int main() { int x = 100; cout << x << endl; int pid = fork(); 阅读全文
posted @ 2023-03-16 19:32
穿过雾的阴霾
阅读(11)
评论(0)
推荐(0)
摘要:
1. python3 ./lottery.py -s 1 -c python3 ./lottery.py -s 2 -c python3 ./lottery.py -s 3 -c 2. 估计压根不会运行,如此不平衡导致进程饿死 python3 ./lottery.py -l 10:1,10:100 阅读全文
posted @ 2023-03-16 14:43
穿过雾的阴霾
阅读(7)
评论(0)
推荐(0)