记录详情

Memory Exceeded

/in/foo.cc: In function 'int main()':
/in/foo.cc:18:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i=0;i<str.length();i++)
              ~^~~~~~~~~~~~~
/in/foo.cc:47:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i=0;i<oper.length();i++)
              ~^~~~~~~~~~~~~~
/in/foo.cc:72:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i=0;i<oper.length();i++)
              ~^~~~~~~~~~~~~~
/in/foo.cc:91:23: warning: 'y' may be used uninitialized in this function [-Wmaybe-uninitialized]
    num[x]=num[x]+num[y];
                       ^
/in/foo.cc:91:16: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized]
    num[x]=num[x]+num[y];
                ^
# 状态 耗时 内存占用
#1 Memory Exceeded ≥148ms ≥16.0 MiB
#2 Memory Exceeded ≥143ms ≥16.0 MiB
#3 Memory Exceeded ≥157ms ≥16.0 MiB
#4 Memory Exceeded ≥146ms ≥16.0 MiB
#5 Memory Exceeded ≥140ms ≥16.0 MiB

信息

递交者
类型
递交
题目
2-5 二进制表达式求值
比赛
南师大2018年蓝桥杯热身赛
语言
C++
递交时间
2018-12-12 16:29:51
评测时间
2018-12-12 16:29:55
评测机
分数
0
总耗时
≥737ms
峰值内存
≥16.0 MiB