记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:9:7: warning: iteration 10006 invokes undefined behavior [-Waggressive-loop-optimizations]
   c[i]=(long long)i*(i-1)*(i-2)*(i-3)/24;
   ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc:8:15: note: within this loop
  for(int i=4;i<=maxn;i++)
              ~^~~~~~
# 状态 耗时 内存占用
#1 Accepted 8ms 448.0 KiB
#2 Accepted 6ms 444.0 KiB
#3 Accepted 6ms 444.0 KiB
#4 Accepted 4ms 448.0 KiB
#5 Accepted 8ms 440.0 KiB
#6 Accepted 5ms 444.0 KiB
#7 Accepted 8ms 448.0 KiB
#8 Accepted 6ms 444.0 KiB
#9 Accepted 11ms 444.0 KiB
#10 Accepted 8ms 436.0 KiB

信息

递交者
类型
递交
题目
太空飞船
题目数据
下载
语言
C++
递交时间
2017-09-14 19:28:00
评测时间
2017-09-14 19:28:00
评测机
分数
100
总耗时
74ms
峰值内存
448.0 KiB