/ XMU_ACM /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:110:6: warning: variable 'temp' set but not used [-Wunused-but-set-variable]
  int temp=0,ans=0;
      ^~~~
/in/foo.cc:80:8: warning: iteration 100000 invokes undefined behavior [-Waggressive-loop-optimizations]
   ok[i]=1;
   ~~~~~^~
/in/foo.cc:78:16: note: within this loop
  for (int i=1;i<=100001;++i)
               ~^~~~~~~~
/in/foo.cc:51:9: warning: iteration 100000 invokes undefined behavior [-Waggressive-loop-optimizations]
   pre[i]=0;
   ~~~~~~^~
/in/foo.cc:49:16: note: within this loop
  for (int i=1;i<=100001;++i)
               ~^~~~~~~~
/in/foo.cc:21:8: warning: iteration 100000 invokes undefined behavior [-Waggressive-loop-optimizations]
   ok[i]=1;
   ~~~~~^~
/in/foo.cc:19:16: note: within this loop
  for (int i=1;i<=100001;++i)
               ~^~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 7ms 3.609 MiB
#2 Accepted 9ms 3.375 MiB
#3 Accepted 6ms 3.125 MiB
#4 Accepted 7ms 3.25 MiB
#5 Accepted 4ms 3.125 MiB
#6 Accepted 10ms 3.344 MiB
#7 Accepted 8ms 3.375 MiB
#8 Accepted 8ms 3.613 MiB
#9 Accepted 9ms 3.359 MiB
#10 Accepted 7ms 3.125 MiB

信息

递交者
类型
递交
比赛
XMU ACM 摸底测试(个人赛)
语言
C++
递交时间
2018-03-04 09:22:32
评测时间
2018-03-04 09:22:32
评测机
分数
100
总耗时
78ms
峰值内存
3.613 MiB