记录详情

Accepted

foo.cc: In function 'double string2double(std::__cxx11::string)':
foo.cc:35:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i = 0 ; i < t.length() ; i++)
                     ~~^~~~~~~~~~~~
foo.cc: In function 'int isop(int)':
foo.cc:56:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i = 0 ; i < sign.size() ; i++)
                     ~~^~~~~~~~~~~~~
foo.cc: In function 'double work(std::__cxx11::string)':
foo.cc:157:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i = 0 ; i < expr.length() ; i++)
                     ~~^~~~~~~~~~~~~~~
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())
                                                                ~~^~~~~~~~~~~~~~~
foo.cc: In function 'int main(int, const char**)':
foo.cc:193:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int l = 0 ; l < ori.size() ; l++)
                     ~~^~~~~~~~~~~~
foo.cc:202:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for(int l = 0 ; l < allexp[i].size() ; l++)
                         ~~^~~~~~~~~~~~~~~~~~
foo.cc:207:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(int i = 0 ; i < test.size() ; i++){
                     ~~^~~~~~~~~~~~~
foo.cc:211:20: warning: unused variable 'nowout' [-Wunused-variable]
             double nowout = work(allexp[k]);
                    ^~~~~~

自豪的采用jd5进行评测(github.com/masnn/jd5)
{"receive":"2020-02-23T09:05:47.927Z","handle":"2020-02-23T09:05:47.927Z","done":"2020-02-23T09:05:49.273Z"}
# 状态 耗时 内存占用
#1 Accepted 3ms 276.0 KiB

信息

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