/ XMU_ACM /

记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:54:73: error: 'j' was not declared in this scope
     printf("%lld ",((r==rr?0ll:val[r%pe[n]][i])+(l==ll?0ll:val[pe[n]-1][j]-val[max(0ll,l%pe[n]-1)][j]+p))%p);
                                                                         ^
/in/foo.cc:84:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   for(int i=1;i<n;i++)printf("%lld ",ans[i]);printf("%lld",ans[n]);
   ^~~
/in/foo.cc:84:46: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
   for(int i=1;i<n;i++)printf("%lld ",ans[i]);printf("%lld",ans[n]);
                                              ^~~~~~

信息

递交者
类型
递交
题目
P1097 集大校赛E-复杂量筒
语言
C++
递交时间
2021-06-11 12:12:30
评测时间
2021-06-11 12:12:30
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes