萌新求助,2个LTE,求大佬帮忙优化啊

P1074 [NOIP2009 提高组] 靶形数独

吸氧了解一下
by hater @ 2019-05-15 12:41:33


面向数据了解一下
by hater @ 2019-05-15 12:41:45


倒过来搜(从9开始)试一下
by 73EL @ 2019-05-15 12:54:48


# 卡时``` #include<bits/stdc++.h> #include<ctime> using namespace std; int t; void dfs() { if((clock()-t)*1000>=900*CLOCKS_PER_SEC){//快超时了 cout<<"haha"<<endl; exit(0);//结束整个程序 } } int main() { t=clock(); for(;;) dfs(); return 0; } ```
by huluobotou @ 2019-07-25 10:36:02


|