记录详情

Wrong Answer

foo.cc: In function 'int main(int, char**)':
foo.cc:12:6: warning: unused variable 'k' [-Wunused-variable]
   12 |  int k=0,cnt=0;
      |      ^
foo.cc:12:10: warning: unused variable 'cnt' [-Wunused-variable]
   12 |  int k=0,cnt=0;
      |          ^~~
foo.cc: In function 'void Replace(std::string&, std::string&, std::string&)':
foo.cc:18:6: warning: unused variable 'slen' [-Wunused-variable]
   18 |  int slen=s.length(), tlen=t.length(), ulen=u.length();
      |      ^~~~
foo.cc:18:23: warning: unused variable 'tlen' [-Wunused-variable]
   18 |  int slen=s.length(), tlen=t.length(), ulen=u.length();
      |                       ^~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Standard answer longer than user output. 2ms 384.0 KiB
#2 Wrong Answer Read aaaaaaaa, expect aaaaaaaaaa. 2ms 384.0 KiB
#3 Wrong Answer Read a123efa123efa123ef, expect a123a123a123. 3ms 384.0 KiB
#4 Wrong Answer Read aaaaaaaaa, expect a. 2ms 384.0 KiB
#5 Wrong Answer Standard answer longer than user output. 2ms 384.0 KiB

信息

递交者
类型
递交
题目
P1052 OO11-4 string中的查找替换
比赛
2022春 面向对象程序设计方法的上机作业
语言
C++
递交时间
2022-05-09 13:29:32
评测时间
2022-05-09 13:29:32
评测机
分数
0
总耗时
12ms
峰值内存
384.0 KiB