记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:15:7: warning: iteration 10003 invokes undefined behavior [-Waggressive-loop-optimizations]
   f[i]=f[i-1]+(1.0/(i+1));
   ~~~~^~~~~~~~~~~~~~~~~~~
/in/foo.cc:14:15: note: within this loop
  for(int i=2;i<=10005;i++){
              ~^~~~~~~
# 状态 耗时 内存占用
#1 Accepted 4ms 476.0 KiB
#2 Accepted 4ms 492.0 KiB
#3 Accepted 3ms 392.0 KiB
#4 Accepted 4ms 488.0 KiB
#5 Accepted 4ms 400.0 KiB
#6 Accepted 3ms 512.0 KiB
#7 Accepted 3ms 392.0 KiB
#8 Accepted 4ms 512.0 KiB
#9 Accepted 3ms 492.0 KiB
#10 Accepted 3ms 508.0 KiB

信息

递交者
类型
递交
题目
function
比赛
初二普及组模拟赛0914
语言
C++
递交时间
2018-09-15 08:52:08
评测时间
2018-09-15 08:59:45
评测机
分数
100
总耗时
39ms
峰值内存
512.0 KiB