摘要:
1.2 Wait on condition 该状态出现在线程等待某个条件的发生。具体是什么原因,可以结合 stacktrace来分析。最常见的情况是线程在等待网络的读写,比如当网络数据没有准备好读时,线程处于这种等待状态,而一旦有数据准备好读之后,线程会重新激活,读取并处理数据。在 Java引入 N 阅读全文
摘要:
说实话这么奇怪十字的链表结构还能在里面删来恢复,按各种顺序和套路以致把时间复杂度减下来,果然是Knuth ! 主要是计算最小列从n m变成了m了,这里m是指下面代码的mm include include include include include include include include 阅读全文
摘要:
1 n里有多少个1 include include using namespace std; int main() { int n=10; cin n; int f[10]; int x[10]; f[0] = 0; f[1] = 1; x[0] = 0; x[1] = 1; for (int i 阅读全文