记录详情

Accepted

foo.c: In function 'main':
foo.c:10:4: warning: implicit declaration of function 'FindiMinPos' [-Wimplicit-function-declaration]
   10 |  x=FindiMinPos(s1,n1);
      |    ^~~~~~~~~~~
foo.c:5:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
    5 |  scanf("%d%d",&n1,&n2);
      |  ^~~~~~~~~~~~~~~~~~~~~
foo.c:7:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
    7 |   scanf("%d",&s1[i]);
      |   ^~~~~~~~~~~~~~~~~~
foo.c:9:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
    9 |   scanf("%d",&s2[j]);
      |   ^~~~~~~~~~~~~~~~~~
foo.c: In function 'FindiMinPos':
foo.c:16:10: warning: 'm' may be used uninitialized in this function [-Wmaybe-uninitialized]
   16 |  int i,j,m,h=0;
      |          ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 512.0 KiB
#2 Accepted 2ms 256.0 KiB
#3 Accepted 2ms 256.0 KiB
#4 Accepted 2ms 256.0 KiB
#5 Accepted 2ms 256.0 KiB

信息

递交者
类型
递交
比赛
中北 计算机2021级专业修读指导(4)
语言
C
递交时间
2021-12-23 16:43:53
评测时间
2021-12-23 16:43:53
评测机
分数
100
总耗时
12ms
峰值内存
512.0 KiB