记录详情

Wrong Answer

foo.c:3:1: warning: return type defaults to 'int' [-Wimplicit-int]
    3 | findmax(int a[],int t)
      | ^~~~~~~
foo.c: In function 'findmax':
foo.c:13:1: warning: control reaches end of non-void function [-Wreturn-type]
   13 | }
      | ^
foo.c: In function 'main':
foo.c:17:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
   17 |  scanf("%d%d",&n1,&n2);
      |  ^~~~~~~~~~~~~~~~~~~~~
foo.c:19:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
   19 |     scanf("%d",&a[i]);
      |     ^~~~~~~~~~~~~~~~~
foo.c:21:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
   21 |     scanf("%d",&b[j]);
      |     ^~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer User output longer than standard answer. 2ms 384.0 KiB
#2 Wrong Answer User output longer than standard answer. 2ms 384.0 KiB
#3 Wrong Answer User output longer than standard answer. 1ms 256.0 KiB
#4 Wrong Answer User output longer than standard answer. 1ms 256.0 KiB
#5 Wrong Answer Read 8, expect 8. 1ms 256.0 KiB

信息

递交者
类型
递交
比赛
中北 计算机2021级专业修读指导(4)
语言
C
递交时间
2021-12-22 21:41:52
评测时间
2021-12-22 21:41:52
评测机
分数
0
总耗时
9ms
峰值内存
384.0 KiB