记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:18:15: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
    if(t1=='(' && t2==')' || t1=='[' && t2==']' || t1=='{' && t2=='}')
       ~~~~~~~~^~~~~~~~~~
foo.cc:18:59: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
    if(t1=='(' && t2==')' || t1=='[' && t2==']' || t1=='{' && t2=='}')
                                                   ~~~~~~~~^~~~~~~~~~
foo.cc:9:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%s",s);
  ~~~~~^~~~~~~~
正在同步测试数据,请稍后
# 状态 耗时 内存占用
#1 Accepted 2ms 384.0 KiB
#2 Accepted 2ms 384.0 KiB
#3 Wrong Answer Read {0}, expect {1}. ["((){({})}{()})","([]{{}}[()]())"] 4ms 1.254 MiB
#4 Wrong Answer Read {0}, expect {1}. ["(()){({}[[]]{})}[]","()[([()([]{{}})])]"] 31ms 9.941 MiB

信息

递交者
类型
递交
题目
和谐字符串
语言
C++
递交时间
2021-02-03 00:30:18
评测时间
2021-02-03 00:30:18
评测机
分数
2
总耗时
40ms
峰值内存
9.941 MiB