记录详情

Accepted

/in/foo.cc: In function 'double string2double(std::__cxx11::string)':
/in/foo.cc:35:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i = 0 ; i < t.length() ; i++)
                     ~~^~~~~~~~~~~~
/in/foo.cc: In function 'int isop(int)':
/in/foo.cc:56:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i = 0 ; i < sign.size() ; i++)
                     ~~^~~~~~~~~~~~~
/in/foo.cc: In function 'double work(std::__cxx11::string)':
/in/foo.cc:157:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i = 0 ; i < expr.length() ; i++)
                     ~~^~~~~~~~~~~~~~~
/in/foo.cc:160:66: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         while(isop(expr[i])==-1&&expr[i]!='('&&expr[i]!=')' && i < expr.length())
                                                                ~~^~~~~~~~~~~~~~~
/in/foo.cc: In function 'int main(int, const char**)':
/in/foo.cc:193:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int l = 0 ; l < ori.size() ; l++)
                     ~~^~~~~~~~~~~~
/in/foo.cc:202:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for(int l = 0 ; l < allexp[i].size() ; l++)
                         ~~^~~~~~~~~~~~~~~~~~
/in/foo.cc:207:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i = 0 ; i < test.size() ; i++){
                     ~~^~~~~~~~~~~~~
/in/foo.cc:211:20: warning: unused variable 'nowout' [-Wunused-variable]
             double nowout = work(allexp[k]);
                    ^~~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 208.0 KiB

信息

递交者
类型
自测
题目
P1137 等价表达式
语言
C++
递交时间
2020-02-23 17:03:21
评测时间
2020-02-23 17:03:21
评测机
分数
10
总耗时
1ms
峰值内存
208.0 KiB