#include<ctime>void dfs(){ if(1000*(clock()-t)>=980*CLOCKS_PER_SECOND){ //clock()-t<980
output solution; exit(0); }}int main(){ t=clock(); dfs();}
【搜索党】卡时技巧
原文:http://www.cnblogs.com/scx2015noip-as-php/p/kashi.html