记录详情

Wrong Answer

foo.c: In function 'main':
foo.c:24:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
   24 |  scanf("%d\n",&n);
      |  ^~~~~~~~~~~~~~~~
foo.c:26:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
   26 |   scanf("%d %d",&a[i],&b[i]);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~
foo.c:34:3: warning: 'k' may be used uninitialized in this function [-Wmaybe-uninitialized]
   34 |  k=k/q;
      |  ~^~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 1934157067, expect 331. 1ms 256.0 KiB
#2 Wrong Answer Read -36590999, expect 77. 1ms 256.0 KiB
#3 Wrong Answer Read -2127948851, expect 13. 1ms 256.0 KiB
#4 Wrong Answer Read 116610071, expect 29. 1ms 256.0 KiB
#5 Wrong Answer Read 449778207, expect 223. 1ms 256.0 KiB

信息

递交者
类型
递交
比赛
2022春 C语言课程设计 作业1
语言
C
递交时间
2022-03-01 11:40:47
评测时间
2022-03-01 11:40:47
评测机
分数
0
总耗时
6ms
峰值内存
256.0 KiB