RT,评估团总人数 1e8 是假的。
测试代码:
#include<bits/stdc++.h>
using namespace std;
int T,n,s,e,d;
int main(){
ios::sync_with_stdio(false);
cin.tie(0),cout.tie(0);
cin>>T;
while(T--){
cin>>n;
int ans=0;
while(n--){
cin>>s>>e>>d;
ans+=((e-s)/d+1);
}
assert(ans<=1e8);
}
return 0;
}