记录详情

Accepted

foo.cc: In function 'double sub(std::__cxx11::string, double)':
foo.cc:28:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  while (i < s.size())
         ~~^~~~~~~~~~
foo.cc:50:30: warning: array subscript has type 'char' [-Wchar-subscripts]
     if (s[i] == '(' || f[s[i]] > f[ch[chi]])
                              ^
foo.cc:57:8: warning: operation on 'di' may be undefined [-Wsequence-point]
      d[--di] = cal(d[di], ch[chi--], d[di + 1]);
        ^~~~
foo.cc:57:8: warning: operation on 'di' may be undefined [-Wsequence-point]
foo.cc: In function 'double cal(double, char, double)':
foo.cc:21:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^

自豪的采用jd5进行评测(github.com/masnn/jd5)
{"receive":"2020-02-23T07:30:59.740Z","handle":"2020-02-23T07:30:59.740Z","done":"2020-02-23T07:31:00.665Z"}
# 状态 耗时 内存占用
#1 Accepted 3ms 364.0 KiB

信息

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