写了一天了 真不知道错哪了 救救孩子吧题目链接 https://ac.nowcoder.com/acm/problem/214399 #include #include #include using namespace std; typedef long long ll; const int mod = 1e9+7; const int k = 1e9; ll a,b,x1,x2,y1,y2; ll ans ; ll cnt(ll a1,ll sum){ return sum*a1%mod - sum*(sum-1)/2ll % mod; } int n = 10; int ma...