/ WHOJ /

记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:49:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   49 |  scanf("%d%d%d%d",&n,&m,&a,&b);//输入矩阵大小、感染源个数和领主个数
      |  ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:51:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   51 |   scanf("%d%d",&c[i],&d[i]);//输入感染源坐标
      |   ~~~~~^~~~~~~~~~~~~~~~~~~~
foo.cc:56:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   56 |   scanf("%d%d",&e,&f);//输入领主坐标
      |   ~~~~~^~~~~~~~~~~~~~
Found 7 testcases.
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 13ms 1.375 MiB
#2 Accepted 4ms 384.0 KiB
#3 Accepted 1ms 384.0 KiB
#4 Accepted 11ms 4.625 MiB
#5 Accepted 1ms 384.0 KiB
#6 Accepted 6ms 896.0 KiB
#7 Accepted 15ms 2.125 MiB

信息

递交者
类型
递交
题目
P1112 出动
题目数据
下载
语言
C++
递交时间
2022-08-09 22:04:18
评测时间
2022-08-09 22:07:20
评测机
分数
100
总耗时
55ms
峰值内存
4.625 MiB