Wrong Answer

foo.cc: In function ‘int main()’:
foo.cc:4:21: warning: unused variable ‘min’ [-Wunused-variable]
    4 |         int i,j,max,min;
      |                     ^~~
foo.cc:16:34: warning: iteration 3 invokes undefined behavior [-Waggressive-loop-optimizations]
   16 |                         if(a[i][j]>max)
      |                            ~~~~~~^
foo.cc:12:18: note: within this loop
   12 |         for(i=0;i<4;i++)
      |                 ~^~
# 状态 耗时 内存占用
#1 Wrong Answer Standard answer longer than user output. 4ms 536.0 KiB
#2 Wrong Answer Standard answer longer than user output. 3ms 536.0 KiB

信息

递交者
类型
递交
题目
P1073 二维数组-最大值及最小值
语言
C++
递交时间
2024-05-11 16:02:22
评测时间
2024-05-11 16:02:22
评测机
分数
0
总耗时
7ms
峰值内存
536.0 KiB