/ Vijos /

记录详情

Accepted

foo.cc: In function 'void build_map()':
foo.cc:12:24: warning: variable 'source' set but not used [-Wunused-but-set-variable]
   12 |         int target = 0,source = i;
      |                        ^~~~~~
foo.cc: In function 'int main()':
foo.cc:26:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   26 |     scanf("%d%d",&n,&m);
      |     ~~~~~^~~~~~~~~~~~~~
foo.cc:27:50: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   27 |     for(int i=0;i<m;i++)for(int j=0;j<n;j++)scanf("%d",&medicine[i][j]);
      |                                             ~~~~~^~~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 512.0 KiB
#2 Accepted 3ms 1.375 MiB
#3 Accepted 6ms 4.375 MiB
#4 Accepted 4ms 2.375 MiB
#5 Accepted 2ms 640.0 KiB
#6 Accepted 4ms 1.375 MiB
#7 Accepted 6ms 2.375 MiB
#8 Accepted 10ms 2.375 MiB
#9 Accepted 2ms 512.0 KiB
#10 Accepted 3ms 640.0 KiB

信息

递交者
类型
递交
题目
P1026 毒药?解药?
语言
C++
递交时间
2021-12-13 20:34:54
评测时间
2021-12-13 20:34:54
评测机
分数
100
总耗时
46ms
峰值内存
4.375 MiB