记录详情

Accepted

/in/foo.cc: In member function 'int PathTree::Find(std::__cxx11::string)':
/in/foo.cc:28:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for(int i = 0; i < this->pPath[n].next.size(); i++) {
                  ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc:37:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    for (int i = 0; i < this->pPath[n].next.size(); i++) {
                    ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc: In member function 'int PathTree::DirectFind(int, std::__cxx11::string)':
/in/foo.cc:46:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for(int i = 0; i < this->pPath[nNode].next.size(); i++) {
                  ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc: In member function 'void PathTree::Add(std::__cxx11::string, int)':
/in/foo.cc:56:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for(int i = 0; i < s.length(); i++) {
                  ~~^~~~~~~~~~~~
/in/foo.cc:66:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for(int i = 0; i < v.size(); i++) {
                  ~~^~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 1.328 MiB
#2 Accepted 2ms 1.336 MiB
#3 Accepted 2ms 1.336 MiB
#4 Accepted 2ms 1.336 MiB

信息

递交者
类型
递交
题目
Path Tree
语言
C++
递交时间
2019-01-22 22:00:53
评测时间
2019-01-22 22:00:53
评测机
分数
100
总耗时
10ms
峰值内存
1.336 MiB