/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'long long int Calc(std::__cxx11::string, long long int)':
/in/foo.cc:110:61: warning: array subscript has type 'char' [-Wchar-subscripts]
                     while(!B.empty() && PriorityChar[B.top()] >= PriorityChar[tmp])
                                                             ^
/in/foo.cc:110:82: warning: array subscript has type 'char' [-Wchar-subscripts]
                     while(!B.empty() && PriorityChar[B.top()] >= PriorityChar[tmp])
                                                                                  ^
/in/foo.cc:75:19: warning: unused variable 'x' [-Wunused-variable]
         long long x = 0,y = 0;
                   ^
/in/foo.cc:75:25: warning: unused variable 'y' [-Wunused-variable]
         long long x = 0,y = 0;
                         ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:147:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for(long long i = 0;i < TestCase.size();i++)
                             ~~^~~~~~~~~~~~~~~~~
/in/foo.cc:152:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(long long i = 0;i < TestCase.size();i++)
                         ~~^~~~~~~~~~~~~~~~~
/in/foo.cc:160:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(long long i = 0;i < TestCase.size();i++)
                         ~~^~~~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 4ms 256.0 KiB
#2 Accepted 4ms 256.0 KiB
#3 Accepted 4ms 384.0 KiB
#4 Accepted 4ms 212.0 KiB
#5 Accepted 4ms 256.0 KiB
#6 Accepted 4ms 384.0 KiB
#7 Accepted 4ms 364.0 KiB
#8 Accepted 4ms 348.0 KiB
#9 Accepted 5ms 364.0 KiB
#10 Accepted 4ms 384.0 KiB

信息

递交者
类型
递交
题目
P1003 等价表达式
语言
C++
递交时间
2017-11-05 12:57:08
评测时间
2017-11-05 12:57:08
评测机
分数
100
总耗时
45ms
峰值内存
384.0 KiB