记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:6:19: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
 #define fo(i,a,b) for(int i(a),_E_(b);i<=_E_;++i)
                   ^
/in/foo.cc:37:2: note: in expansion of macro 'fo'
  fo(i,1,k)g[i-1]=las[p[i]];g[k]=f[n];
  ^~
/in/foo.cc:37:28: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
  fo(i,1,k)g[i-1]=las[p[i]];g[k]=f[n];
                            ^
/in/foo.cc:38:26: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
  fo(i,0,k)fo(j,i+1,k)if(i+1^j)tr[i][j]=tr[i][j-1]*2%mo;else tr[i][j]=mo-1;
                         ~^~
# 状态 耗时 内存占用
#1 Accepted 1ms 200.0 KiB
#2 Accepted 1ms 192.0 KiB
#3 Accepted 1ms 312.0 KiB
#4 Accepted 1ms 332.0 KiB
#5 Accepted 1ms 312.0 KiB
#6 Accepted 1ms 320.0 KiB
#7 Accepted 1ms 328.0 KiB
#8 Accepted 1ms 320.0 KiB
#9 Accepted 1ms 312.0 KiB
#10 Accepted 1ms 336.0 KiB
#11 Accepted 1ms 308.0 KiB
#12 Accepted 1ms 320.0 KiB
#13 Accepted 1ms 328.0 KiB
#14 Accepted 1ms 324.0 KiB
#15 Accepted 1ms 312.0 KiB
#16 Accepted 1ms 336.0 KiB
#17 Accepted 1ms 312.0 KiB
#18 Accepted 1ms 320.0 KiB
#19 Accepted 1ms 328.0 KiB
#20 Accepted 1ms 320.0 KiB
#21 Accepted 87ms 7.93 MiB
#22 Accepted 73ms 7.328 MiB
#23 Accepted 74ms 7.68 MiB
#24 Accepted 108ms 8.062 MiB
#25 Accepted 89ms 7.691 MiB
#26 Accepted 107ms 8.062 MiB
#27 Accepted 174ms 8.055 MiB
#28 Accepted 117ms 6.828 MiB
#29 Accepted 162ms 7.055 MiB
#30 Accepted 1ms 320.0 KiB

信息

递交者
类型
递交
题目
3# 暮暮
题目数据
下载
语言
C++
递交时间
2018-11-04 15:42:13
评测时间
2018-11-04 15:42:13
评测机
分数
150
总耗时
1028ms
峰值内存
8.062 MiB