/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'long long int mak_num(std::__cxx11::string)':
/in/foo.cc:24:20: warning: array subscript has type 'char' [-Wchar-subscripts]
         if(ct[v[tp]]){
                    ^
/in/foo.cc:25:24: warning: array subscript has type 'char' [-Wchar-subscripts]
             if(ct[v[tp]]>bef||v[tp]=='('){
                        ^
/in/foo.cc:27:29: warning: array subscript has type 'char' [-Wchar-subscripts]
                 bef=ct[v[tp]];
                             ^
/in/foo.cc:36:36: warning: array subscript has type 'char' [-Wchar-subscripts]
                     bef=ct[str[stp]];
                                    ^
/in/foo.cc:42:33: warning: array subscript has type 'char' [-Wchar-subscripts]
                     bef=ct[v[tp]];
                                 ^
/in/foo.cc: In function 'long long int cal(long long int, long long int, char)':
/in/foo.cc:20:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
# 状态 耗时 内存占用
#1 Accepted 4ms 384.0 KiB
#2 Accepted 3ms 368.0 KiB

信息

递交者
类型
自测
题目
P1003 等价表达式
语言
C++
递交时间
2017-10-27 14:24:07
评测时间
2017-10-27 14:24:07
评测机
分数
20
总耗时
8ms
峰值内存
384.0 KiB