/ WHOJ /

记录详情

Wrong Answer

foo.cc: In function 'void init()':
foo.cc:23:23: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   23 |             if(g[i][j]='S')
      |                ~~~~~~~^~~~
foo.cc:18:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   18 |     scanf("%d %d %d",&n,&m,&k);
      |     ~~~~~^~~~~~~~~~~~~~~~~~~~~
foo.cc:20:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   20 |         scanf("%s",g[i]+1);
      |         ~~~~~^~~~~~~~~~~~~
Found 5 testcases.
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 1, expect 2. 2ms 380.0 KiB
#2 Accepted 2ms 508.0 KiB
#3 Wrong Answer Read 1, expect 2. 2ms 384.0 KiB
#4 Wrong Answer Read 1, expect 2. 2ms 384.0 KiB
#5 Wrong Answer Read 1, expect 2. 2ms 384.0 KiB

信息

递交者
类型
递交
题目
P1157 魔法逃离
题目数据
下载
语言
C++
递交时间
2022-05-16 21:47:07
评测时间
2022-05-16 21:47:07
评测机
分数
20
总耗时
12ms
峰值内存
508.0 KiB