记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:27:18: warning: operation on 'k' may be undefined [-Wsequence-point]
   if(s[i]-'0') f[++k]= (2*f[k-1]%MOD + f_pow(1ll*4,1ll*(k-1)) % MOD)%MOD;
                  ^~~
/in/foo.cc:27:18: warning: operation on 'k' may be undefined [-Wsequence-point]
/in/foo.cc:28:10: warning: operation on 'k' may be undefined [-Wsequence-point]
   else f[++k]= 2*f[k-1]%MOD;
          ^~~
# 状态 耗时 内存占用
#1 Accepted 3ms 332.0 KiB
#2 Accepted 84ms 5.113 MiB
#3 Accepted 3ms 376.0 KiB
#4 Accepted 3ms 352.0 KiB
#5 Accepted 2ms 256.0 KiB
#6 Accepted 3ms 256.0 KiB
#7 Accepted 2ms 256.0 KiB
#8 Accepted 3ms 336.0 KiB
#9 Accepted 3ms 256.0 KiB
#10 Accepted 4ms 348.0 KiB

信息

递交者
类型
递交
题目
异或逆序对
语言
C++
递交时间
2017-09-02 16:56:10
评测时间
2017-09-02 16:56:10
评测机
分数
100
总耗时
114ms
峰值内存
5.113 MiB