摘要:
#include using namespace std; int main() { int n, m, temp; //余数remainder 进位carry_bit int remainder=0, carry_bit=0; cin>>m; int a[10000]; for(int i=0; i<10000; i++) a[i]=0; a[1] = 1; for(i... 阅读全文
摘要:
有两个信号可以停止进程:SIGTERM和SIGKILL。SIGTERM比较友好,进程能捕捉这个信号( it can be caught and interpreted (or ignored) by the process),根据您的需要来关闭程序。在关闭程序之前,您可以结束打开的记录文件和完成正在 阅读全文