/ Vijos /

记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:24:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   24 |     scanf("%d%d",&n,&m);
      |     ~~~~~^~~~~~~~~~~~~~
foo.cc:25:50: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   25 |     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 5ms 1.375 MiB
#3 Accepted 13ms 4.5 MiB
#4 Accepted 13ms 2.5 MiB
#5 Accepted 4ms 640.0 KiB
#6 Accepted 6ms 1.375 MiB
#7 Accepted 14ms 2.375 MiB
#8 Accepted 15ms 2.5 MiB
#9 Accepted 5ms 512.0 KiB
#10 Accepted 4ms 640.0 KiB

信息

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