记录详情

Wrong Answer

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

信息

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