/ Vijos /

记录详情

Wrong Answer

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 3ms 512.0 KiB
#2 Accepted 6ms 1.375 MiB
#3 Accepted 8ms 4.125 MiB
#4 Accepted 9ms 2.375 MiB
#5 Wrong Answer Read 2, expect 3. 6ms 640.0 KiB
#6 Accepted 5ms 1.5 MiB
#7 Accepted 8ms 2.375 MiB
#8 Accepted 7ms 2.375 MiB
#9 Accepted 2ms 512.0 KiB
#10 Accepted 2ms 640.0 KiB

信息

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