/ Vijos /

记录详情

Runtime Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:105:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (int i = 0; i < s.size(); ++i)
                         ~~^~~~~~~~~~
/in/foo.cc:127:42: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
                         if (!ops.empty() && ops.top() == '*' || ops.top() == '/')
                             ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
/in/foo.cc: In instantiation of 'STACK::myStack<T>::myStack(int) [with T = double]':
/in/foo.cc:52:17:   required from here
/in/foo.cc:13:13: warning: 'STACK::myStack<double>::capacity' will be initialized after [-Wreorder]
         int capacity;
             ^~~~~~~~
/in/foo.cc:12:13: warning:   'int STACK::myStack<double>::lenth' [-Wreorder]
         int lenth;
             ^~~~~
/in/foo.cc:29:9: warning:   when initialized here [-Wreorder]
         myStack(int cap = 10) : capacity(cap), lenth(0) { parr = new T[cap]; }
         ^~~~~~~
/in/foo.cc: In instantiation of 'STACK::myStack<T>::myStack(int) [with T = char]':
/in/foo.cc:53:15:   required from here
/in/foo.cc:13:13: warning: 'STACK::myStack<char>::capacity' will be initialized after [-Wreorder]
         int capacity;
             ^~~~~~~~
/in/foo.cc:12:13: warning:   'int STACK::myStack<char>::lenth' [-Wreorder]
         int lenth;
             ^~~~~
/in/foo.cc:29:9: warning:   when initialized here [-Wreorder]
         myStack(int cap = 10) : capacity(cap), lenth(0) { parr = new T[cap]; }
         ^~~~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 340.0 KiB
#2 Wrong Answer 1ms 364.0 KiB
#3 Wrong Answer 1ms 332.0 KiB
#4 Wrong Answer 1ms 332.0 KiB
#5 Runtime Error 2ms 572.0 KiB
#6 Runtime Error 1ms 416.0 KiB
#7 Runtime Error 2ms 428.0 KiB
#8 Runtime Error 2ms 424.0 KiB
#9 Wrong Answer 1ms 356.0 KiB
#10 Wrong Answer 1ms 328.0 KiB
#11 Runtime Error 1ms 460.0 KiB
#12 Wrong Answer 1ms 356.0 KiB
#13 Wrong Answer 1ms 404.0 KiB
#14 Wrong Answer 1ms 376.0 KiB
#15 Accepted 1ms 376.0 KiB
#16 Accepted 1ms 404.0 KiB
#17 Wrong Answer 1ms 376.0 KiB
#18 Wrong Answer 1ms 404.0 KiB
#19 Wrong Answer 1ms 336.0 KiB
#20 Runtime Error 1ms 376.0 KiB

信息

递交者
类型
递交
题目
P2019 表达式求值2
语言
C++
递交时间
2024-01-03 00:47:43
评测时间
2024-01-03 00:47:43
评测机
分数
15
总耗时
36ms
峰值内存
572.0 KiB