记录详情

Wrong Answer

foo.cc:37:34: warning: multi-character character constant [-Wmultichar]
   37 |                         char L = '/0';//左括号
      |                                  ^~~~
foo.cc:38:34: warning: multi-character character constant [-Wmultichar]
   38 |                         char R = '/0';//右括号
      |                                  ^~~~
foo.cc: In member function 'void LinkStack::Match(char*)':
foo.cc:37:34: warning: overflow in conversion from 'int' to 'char' changes value from '12080' to ''0'' [-Woverflow]
   37 |                         char L = '/0';//左括号
      |                                  ^~~~
foo.cc:38:34: warning: overflow in conversion from 'int' to 'char' changes value from '12080' to ''0'' [-Woverflow]
   38 |                         char R = '/0';//右括号
      |                                  ^~~~
foo.cc:61:46: warning: unused variable 't' [-Wunused-variable]
   61 |                                         char t = pop();//出栈
      |                                              ^
foo.cc:37:30: warning: variable 'L' set but not used [-Wunused-but-set-variable]
   37 |                         char L = '/0';//左括号
      |                              ^
foo.cc:80:33: warning: unused variable 'a' [-Wunused-variable]
   80 |                         if (int a = empty() == true)
      |                                 ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Standard answer longer than user output. 4ms 256.0 KiB
#2 Wrong Answer Standard answer longer than user output. 4ms 256.0 KiB
#3 Wrong Answer Standard answer longer than user output. 2ms 256.0 KiB
#4 Wrong Answer Standard answer longer than user output. 1ms 256.0 KiB
#5 Wrong Answer Standard answer longer than user output. 2ms 256.0 KiB

信息

递交者
类型
递交
比赛
(中澳班)数据结构之“线性表”
语言
C++
递交时间
2022-10-07 21:58:02
评测时间
2022-10-07 21:58:02
评测机
分数
0
总耗时
15ms
峰值内存
256.0 KiB