如果有人使用下面的代码卡评测怎么办(假设程序时间限制为10秒):
#include<bits/stdc++.h> using namespace std; int a[1]; int main(){ while(1){ if(clock()*100>CLOCKS_PER_SEC*990){ cout<<a[114514]; break; } } }
这个代码最终会爆RE,但是还是浪费了评测资源。