/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:17:21: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
    if(st.top()=='{' && s[i]=='}' || st.top()=='[' && s[i]==']' ||st.top()=='(' && s[i]==')'){
       ~~~~~~~~~~~~~~^~~~~~~~~~~~
/in/foo.cc:17:80: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
    if(st.top()=='{' && s[i]=='}' || st.top()=='[' && s[i]==']' ||st.top()=='(' && s[i]==')'){
                                                                  ~~~~~~~~~~~~~~^~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 208.0 KiB
#2 Wrong Answer 1ms 232.0 KiB
#3 Wrong Answer 4ms 2.586 MiB
#4 Wrong Answer 28ms 4.836 MiB

信息

递交者
类型
递交
题目
P1572 小委出发
语言
C++
递交时间
2020-11-14 18:06:20
评测时间
2020-11-14 18:06:20
评测机
分数
1
总耗时
36ms
峰值内存
4.836 MiB