/ XMU_ACM /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:7:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for (int i=1;i<=35;++i)
  ^~~
/in/foo.cc:9:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
   int n;
   ^~~
/in/foo.cc:8:11: warning: iteration 34 invokes undefined behavior [-Waggressive-loop-optimizations]
   three[i]=three[i-1]*3;
   ~~~~~~~~^~~~~~~~~~~~~
/in/foo.cc:7:16: note: within this loop
  for (int i=1;i<=35;++i)
               ~^~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 200.0 KiB
#2 Accepted 1ms 204.0 KiB
#3 Accepted 1ms 204.0 KiB
#4 Accepted 1ms 204.0 KiB
#5 Accepted 1ms 204.0 KiB
#6 Accepted 1ms 204.0 KiB
#7 Accepted 1ms 204.0 KiB
#8 Accepted 1ms 204.0 KiB
#9 Accepted 1ms 204.0 KiB
#10 Accepted 1ms 204.0 KiB

信息

递交者
类型
递交
题目
P1030 调味市的危机
比赛
2019网宿杯XMU程序设计竞赛网络预赛第一场
语言
C++
递交时间
2019-04-20 13:48:56
评测时间
2019-04-20 13:49:02
评测机
分数
100
总耗时
15ms
峰值内存
204.0 KiB