/ OK /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:83:21: warning: array subscript has type 'char' [-Wchar-subscripts]
        if(first[a[i]]>first[s2.top()])//高优先级直接入栈 
                     ^
/in/foo.cc:87:36: warning: array subscript has type 'char' [-Wchar-subscripts]
       while(!s2.empty()&&first[a[i]]<=first[s2.top()]&&s2.top()!='('){
                                    ^
/in/foo.cc: In function 'int com(int, int, char)':
/in/foo.cc:27:9: warning: 'tmp' may be used uninitialized in this function [-Wmaybe-uninitialized]
  return tmp;
         ^~~
# 状态 耗时 内存占用
#1 Wrong Answer 3ms 352.0 KiB
#2 Accepted 4ms 508.0 KiB
#3 Accepted 3ms 384.0 KiB
#4 Accepted 2ms 348.0 KiB
#5 Accepted 3ms 372.0 KiB
#6 Accepted 2ms 364.0 KiB
#7 Accepted 8ms 384.0 KiB
#8 Accepted 3ms 384.0 KiB
#9 Accepted 2ms 384.0 KiB
#10 Accepted 2ms 360.0 KiB

信息

递交者
类型
递交
题目
表达式计算
语言
C++
递交时间
2018-04-22 11:16:13
评测时间
2018-04-22 11:16:13
评测机
分数
90
总耗时
37ms
峰值内存
508.0 KiB