QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#728684 | #8951. 澡堂 | Huluobo | Compile Error | / | / | C++14 | 2.4kb | 2024-11-09 15:39:46 | 2024-11-09 15:39:49 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In member function ‘ll Ds::eval(int, int, ll)’: answer.code:16:54: error: ‘T’ was not declared in this scope 16 | return x*(r-l+1)+(ll)(r-l+1)*(r-l)/2*T-(sum[r]-sum[l-1]); | ^ answer.code: In member function ‘int Ds::nxt(int, ll)’: answer.code:22:46: error: ‘T’ was not declared in this scope 22 | if(query(i,mid)<=x-i*T)l=mid+1; | ^ answer.code: In member function ‘ll Ds::query(int, int, ll&)’: answer.code:32:51: error: ‘T’ was not declared in this scope 32 | if(i>r)ans=eval(l,r,x),x+=(r-l+1)*T; | ^ answer.code:43:74: error: ‘T’ was not declared in this scope 43 | ans+=dep[i]-dep[k]+eval(k,r,t[k]),x=t[k]+(r-k+1)*T; | ^ answer.code: In member function ‘void Ds::init()’: answer.code:50:42: error: ‘T’ was not declared in this scope 50 | stb[0][i]=t[i]-i*T,sum[i]=sum[i-1]+t[i]; | ^