记录详情

Accepted

/in/foo.c: In function 'main':
/in/foo.c:40:12: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'int' [-Wformat=]
  printf("%ld %ld", search(a, m), search(b, n));
            ^
/in/foo.c:40:16: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'int' [-Wformat=]
  printf("%ld %ld", search(a, m), search(b, n));
                ^
/in/foo.c: In function 'search':
/in/foo.c:22:9: warning: 'count' may be used uninitialized in this function [-Wmaybe-uninitialized]
  return count;
         ^~~~~
# 状态 耗时 内存占用
#1 Accepted 0ms 356.0 KiB
#2 Accepted 0ms 400.0 KiB
#3 Accepted 0ms 356.0 KiB
#4 Accepted 0ms 376.0 KiB
#5 Accepted 0ms 376.0 KiB

信息

递交者
类型
递交
题目
A9-2 数组中最小正数的下标
比赛
南师大(含泰州学院)2024年新生赛(第二场之预赛)
语言
C
递交时间
2024-08-27 19:04:52
评测时间
2024-08-27 19:04:52
评测机
分数
100
总耗时
4ms
峰值内存
400.0 KiB