记录详情

Accepted

foo.c: In function 'main':
foo.c:6:48: warning: unused variable 'sum' [-Wunused-variable]
    6 |  int m,n,p,i,j,a[100][100]={0},b[100][100]={0},sum=0,c[100][100]={0},k;
      |                                                ^~~
foo.c:7:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
    7 |  scanf("%d%d%d",&m,&n,&p);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~
foo.c:11:4: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
   11 |    scanf("%d",&a[i][j]);
      |    ^~~~~~~~~~~~~~~~~~~~
foo.c:16:4: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
   16 |    scanf("%d",&b[i][j]);
      |    ^~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 1ms 384.0 KiB
#2 Accepted 1ms 384.0 KiB
#3 Accepted 1ms 384.0 KiB
#4 Accepted 2ms 384.0 KiB
#5 Accepted 1ms 384.0 KiB

信息

递交者
类型
递交
题目
6-2 矩阵乘法
比赛
2021(四) 作业第四场:加速赛
语言
C
递交时间
2021-12-09 16:26:02
评测时间
2021-12-09 16:26:02
评测机
分数
100
总耗时
8ms
峰值内存
384.0 KiB