记录详情

Accepted

/in/foo.c: In function 'FindiMinPos':
/in/foo.c:19:6: warning: 'min' may be used uninitialized in this function [-Wmaybe-uninitialized]
    if(arr[i]<min)
      ^
/in/foo.c:26:9: warning: 'xiabiao' may be used uninitialized in this function [-Wmaybe-uninitialized]
  return xiabiao;
         ^~~~~~~
/in/foo.c: In function 'main':
/in/foo.c:19:6: warning: 'min' may be used uninitialized in this function [-Wmaybe-uninitialized]
    if(arr[i]<min)
      ^
/in/foo.c:5:14: note: 'min' was declared here
  int xiabiao,min;
              ^~~
/in/foo.c:19:6: warning: 'min' may be used uninitialized in this function [-Wmaybe-uninitialized]
    if(arr[i]<min)
      ^
/in/foo.c:5:14: note: 'min' was declared here
  int xiabiao,min;
              ^~~
/in/foo.c:45:2: warning: 'xiabiao' may be used uninitialized in this function [-Wmaybe-uninitialized]
  printf("%d %d",xiabiao1,xiabiao2);
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/in/foo.c:45:2: warning: 'xiabiao' may be used uninitialized in this function [-Wmaybe-uninitialized]
# 状态 耗时 内存占用
#1 Accepted 0ms 248.0 KiB
#2 Accepted 0ms 248.0 KiB
#3 Accepted 0ms 208.0 KiB
#4 Accepted 0ms 232.0 KiB
#5 Accepted 0ms 208.0 KiB

信息

递交者
类型
递交
题目
A9-2 数组中最小正数的下标
比赛
2024程序设计与竞赛作业赛第一场(喜相逢)
语言
C
递交时间
2024-10-03 14:37:13
评测时间
2024-10-03 14:37:13
评测机
分数
100
总耗时
4ms
峰值内存
248.0 KiB