记录详情

Wrong Answer

foo.cc: In function 'void Output(std::vector<Node>&)':
foo.cc:25:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Node>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   25 |         for(int i=0; i<v.size(); i++)
      |                      ~^~~~~~~~~
foo.cc: In function 'std::string bdqc(std::string)':
foo.cc:42:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   42 |         for(int i = 0;i < s.size();i++)
      |                       ~~^~~~~~~~~~
foo.cc:44:29: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   44 |                 if(s[i]>='a'&&s[i]<='z'||s[i]>='A'&&s[i]<='Z')
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read life:, expect life. 1ms 256.0 KiB
#2 Wrong Answer Read life:, expect life. 1ms 256.0 KiB
#3 Wrong Answer Read :, expect 0. 2ms 256.0 KiB
#4 Wrong Answer Read :, expect 0. 1ms 384.0 KiB
#5 Wrong Answer Read :, expect 0. 1ms 256.0 KiB

信息

递交者
类型
递交
题目
P1057 OO11-9 set与单词统计
语言
C++
递交时间
2022-08-18 15:08:24
评测时间
2022-08-18 15:08:24
评测机
分数
0
总耗时
9ms
峰值内存
384.0 KiB