摘要:
ulimit -a 查看限制显示: ulimit -n 65535将 open files的限制改大 这里只是改变当前shell的限制 全局改变把ulimit -n 65535加到/etc/profile 或者将这个语句加到启动指定程序的shell脚本 参考自Too many open files 阅读全文
摘要:
Given 5 integers: a, b, c, d, k, you're to find x in a...b, y in c...d that GCD(x, y) = k. GCD(x, y) means the greatest common divisor of x and y. Sin 阅读全文
摘要:
1 #include <bits/stdc++.h> 2 using namespace std; 3 typedef long long LL; 4 const int N=1e6+10; 5 const int INF=0x3f3f3f3f; 6 int cas=1,T; 7 int c[N]; 阅读全文