/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:8:21: warning: iteration 90 invokes undefined behavior [-Waggressive-loop-optimizations]
    8 |                 F[i]=F[i/10]+F[i%10];
      |                 ~~~~^~~~~~~~~~~~~~~~
foo.cc:7:23: note: within this loop
    7 |         for(int i=10;i<=100;i++){
      |                      ~^~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 34, expect 128. 1ms 284.0 KiB
#2 Wrong Answer Read 28, expect 88. 2ms 284.0 KiB
#3 Wrong Answer Read 29, expect 65. 2ms 284.0 KiB
#4 Wrong Answer Read 22, expect 38. 2ms 284.0 KiB
#5 Accepted 2ms 284.0 KiB
#6 Accepted 2ms 284.0 KiB
#7 Accepted 2ms 284.0 KiB
#8 Accepted 2ms 284.0 KiB
#9 Wrong Answer Read 35, expect 39. 2ms 284.0 KiB
#10 Wrong Answer Read 27, expect 29. 2ms 284.0 KiB

信息

递交者
类型
递交
题目
P1496 火柴棒等式
语言
C++
递交时间
2023-05-26 14:59:06
评测时间
2023-05-26 14:59:06
评测机
分数
40
总耗时
22ms
峰值内存
284.0 KiB