/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'void fillStack(const string&, const std::map<char, int>&, std::vector<char>&)':
/in/foo.cc:36:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(auto i = 0; i < char_Que.size(); ++i) {
                     ~~^~~~~~~~~~~~~~~~~
/in/foo.cc: In function 'char* caculation(const string&, std::map<char, int>&, std::stack<std::__cxx11::basic_string<char> >, const std::vector<char>&)':
/in/foo.cc:47:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for(auto i = 0; i < char_Que.length(); ++i) {
                     ~~^~~~~~~~~~~~~~~~~~~
/in/foo.cc:56:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             if(j < oper.size() && operlist[oper[j]] < operlist[oper[j+1]])
                ~~^~~~~~~~~~~~~
/in/foo.cc:58:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             else if(j < oper.size() && ((oper[j] == '-' || oper[j] == '/')  
                     ~~^~~~~~~~~~~~~
/in/foo.cc:62:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             else if(j < oper.size())
                     ~~^~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 3ms 356.0 KiB
#2 Accepted 3ms 352.0 KiB
#3 Accepted 4ms 256.0 KiB
#4 Accepted 3ms 256.0 KiB
#5 Accepted 3ms 356.0 KiB

信息

递交者
类型
递交
题目
P1293 后缀转中缀
语言
C++
递交时间
2017-11-19 17:53:28
评测时间
2017-11-19 17:53:28
评测机
分数
100
总耗时
18ms
峰值内存
356.0 KiB