/ Vijos /

记录详情

Runtime Error

/in/foo.cc: In function 'int find(std::__cxx11::string&, char)':
/in/foo.cc:4:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i=0;i<s.size();i++)if(c==s[i])return i;
                 ~^~~~~~~~~
/in/foo.cc: In function 'bool xx(std::__cxx11::string, std::__cxx11::string)':
/in/foo.cc:20:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
# 状态 耗时 内存占用
#1 Accepted 1ms 204.0 KiB
#2 Accepted 1ms 208.0 KiB
#3 Runtime Error 7ms 8.227 MiB
#4 Runtime Error 7ms 8.172 MiB
#5 Runtime Error 6ms 8.188 MiB

信息

递交者
类型
递交
题目
P1132 求二叉树的先序序列
语言
C++
递交时间
2019-10-05 19:36:28
评测时间
2019-10-05 19:36:28
评测机
分数
20
总耗时
25ms
峰值内存
8.227 MiB