/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:17:54: warning: left operand of comma operator has no effect [-Wunused-value]
 for(int j=0;j<=k;j++)f[j]=(sum[j+1]-sum[j,max(0,j-i+1)]+mod)%mod;
                                                      ^
# 状态 耗时 内存占用
#1 Accepted 2ms 368.0 KiB
#2 Accepted 2ms 376.0 KiB
#3 Accepted 1ms 344.0 KiB
#4 Accepted 18ms 328.0 KiB
#5 Accepted 18ms 364.0 KiB
#6 Accepted 25ms 424.0 KiB
#7 Accepted 16ms 400.0 KiB
#8 Accepted 30ms 360.0 KiB
#9 Accepted 22ms 356.0 KiB
#10 Accepted 50ms 424.0 KiB

信息

递交者
类型
递交
题目
P1757 逆序对
语言
C++
递交时间
2021-10-15 21:44:04
评测时间
2021-10-15 21:44:04
评测机
分数
100
总耗时
189ms
峰值内存
424.0 KiB