/ Vijos /

记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:8:28: warning: iteration 6 invokes undefined behavior [-Waggressive-loop-optimizations]
    8 |             lesson[i] = a[i] + b[i];
      |                         ~~~^
foo.cc:7:23: note: within this loop
    7 |         for (i = 1; i <= 7; i++)
      |                     ~~^~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 4ms 412.0 KiB
#2 Accepted 4ms 284.0 KiB
#3 Accepted 5ms 412.0 KiB
#4 Accepted 4ms 412.0 KiB
#5 Accepted 4ms 412.0 KiB
#6 Accepted 4ms 400.0 KiB
#7 Accepted 3ms 332.0 KiB
#8 Accepted 4ms 412.0 KiB
#9 Accepted 3ms 412.0 KiB
#10 Accepted 3ms 412.0 KiB

信息

递交者
类型
递交
题目
P1113 不高兴的津津
语言
C++
递交时间
2023-08-12 10:06:35
评测时间
2023-08-12 10:06:35
评测机
分数
100
总耗时
42ms
峰值内存
412.0 KiB