/ WHOJ /

记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:9:21: warning: iteration 10006 invokes undefined behavior [-Waggressive-loop-optimizations]
    9 |                 c[i]=(long long)i*(i-1)*(i-2)*(i-3)/24;
      |                 ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:8:22: note: within this loop
    8 |         for(int i=4;i<=maxn;i++)
      |                     ~^~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 4ms 512.0 KiB
#2 Accepted 4ms 384.0 KiB
#3 Accepted 4ms 384.0 KiB
#4 Accepted 7ms 384.0 KiB
#5 Accepted 13ms 384.0 KiB
#6 Accepted 4ms 384.0 KiB
#7 Accepted 7ms 384.0 KiB
#8 Accepted 5ms 384.0 KiB
#9 Accepted 14ms 384.0 KiB
#10 Accepted 11ms 512.0 KiB

信息

递交者
类型
递交
题目
P1628 破译
题目数据
下载
语言
C++
递交时间
2022-09-03 20:13:37
评测时间
2022-09-03 20:13:37
评测机
分数
100
总耗时
76ms
峰值内存
512.0 KiB