/ OPS /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:8:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
    8 |     for(int i=0;i<a.size();i++)
      |                 ~^~~~~~~~~
/in/foo.cc:8:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
    8 |     for(int i=0;i<a.size();i++)
      |     ^~~
/in/foo.cc:12:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
   12 |    if(isnum) cout<<"Yes"<<endl;
      |    ^~
# 状态 耗时 内存占用
#1 Wrong Answer 3ms 336.0 KiB

信息

递交者
类型
递交
题目
P1059 数字字串
语言
C++
递交时间
2025-03-03 00:07:56
评测时间
2025-03-03 00:07:56
评测机
分数
0
总耗时
3ms
峰值内存
336.0 KiB