记录详情

Accepted

foo.c: In function 'cc':
foo.c:41:12: warning: statement with no effect [-Wunused-value]
   41 |   b[x-1][y]==-1;
      |   ~~~~~~~~~^~~~
foo.c:50:12: warning: statement with no effect [-Wunused-value]
   50 |   b[x+1][y]==-1;
      |   ~~~~~~~~~^~~~
foo.c:59:12: warning: statement with no effect [-Wunused-value]
   59 |   b[x][y-1]==-1;
      |   ~~~~~~~~~^~~~
foo.c:68:12: warning: statement with no effect [-Wunused-value]
   68 |   b[x][y+1]==-1;
      |   ~~~~~~~~~^~~~
foo.c: In function 'main':
foo.c:12:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
   12 |     scanf("%d %d",&m,&n);
      |     ^~~~~~~~~~~~~~~~~~~~
foo.c:17:4: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
   17 |    scanf("%d",&a[i][j]);
      |    ^~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 3ms 396.0 KiB
#2 Accepted 3ms 256.0 KiB
#3 Accepted 3ms 256.0 KiB
#4 Accepted 2ms 256.0 KiB
#5 Accepted 3ms 384.0 KiB

信息

递交者
类型
递交
题目
2-7 有几个岛屿
语言
C
递交时间
2022-03-19 16:05:03
评测时间
2022-03-19 16:05:03
评测机
分数
100
总耗时
15ms
峰值内存
396.0 KiB