骗分
2024-07-14 13:43:17
发布于:广东
卡时技巧
#include<bits/stdc++.h>
using namespace std;
const int maxn = 1e5+5;
clock_t st;
solve(){
if((double)(clock() - st) / CLOCKS_PER_SEC > 0.97) return; //返回中间结果
}
int main(){
st = clock(); //获取时间戳
solve;
return 0;
}
有风险 但永不TLE
这里空空如也
有帮助,赞一个