/ Vijos /

记录详情

Compile Error

foo.cc:84:1: error: '\U00005c0f\U00006839\U00005806' does not name a type
   84 | 小根堆
      | ^~~~~~
foo.cc:104:1: error: redefinition of 'smallest_heap<item>::smallest_heap()'
  104 | smallest_heap<item>::smallest_heap(){
      | ^~~~~~~~~~~~~~~~~~~
foo.cc:21:1: note: 'smallest_heap<item>::smallest_heap()' previously declared here
   21 | smallest_heap<item>::smallest_heap(){
      | ^~~~~~~~~~~~~~~~~~~
foo.cc:110:6: error: redefinition of 'void smallest_heap<item>::push(const item&)'
  110 | void smallest_heap<item>::push(item const &n){
      |      ^~~~~~~~~~~~~~~~~~~
foo.cc:27:6: note: 'void smallest_heap<item>::push(const item&)' previously declared here
   27 | void smallest_heap<item>::push(item const &n){
      |      ^~~~~~~~~~~~~~~~~~~
foo.cc:120:6: error: redefinition of 'void smallest_heap<item>::pop()'
  120 | void smallest_heap<item>::pop(){
      |      ^~~~~~~~~~~~~~~~~~~
foo.cc:37:6: note: 'void smallest_heap<item>::pop()' previously declared here
   37 | void smallest_heap<item>::pop(){
      |      ^~~~~~~~~~~~~~~~~~~
foo.cc:134:6: error: redefinition of 'item smallest_heap<item>::top()'
  134 | item smallest_heap<item>::top(){
      |      ^~~~~~~~~~~~~~~~~~~
foo.cc:51:6: note: 'item smallest_heap<item>::top()' previously declared here
   51 | item smallest_heap<item>::top(){
      |      ^~~~~~~~~~~~~~~~~~~
foo.cc:139:5: error: redefinition of 'int smallest_heap<item>::size()'
  139 | int smallest_heap<item>::size(){
      |     ^~~~~~~~~~~~~~~~~~~
foo.cc:56:5: note: 'int smallest_heap<item>::size()' previously declared here
   56 | int smallest_heap<item>::size(){
      |     ^~~~~~~~~~~~~~~~~~~
foo.cc:144:6: error: redefinition of 'bool smallest_heap<item>::empty()'
  144 | bool smallest_heap<item>::empty(){
      |      ^~~~~~~~~~~~~~~~~~~
foo.cc:61:6: note: 'bool smallest_heap<item>::empty()' previously declared here
   61 | bool smallest_heap<item>::empty(){
      |      ^~~~~~~~~~~~~~~~~~~
foo.cc: In member function 'bool largest_heap<item>::empty()':
foo.cc:208:16: error: expected '}' at end of input
  208 |     return len;
      |                ^
foo.cc:207:33: note: to match this '{'
  207 | bool largest_heap<item>::empty(){
      |                                 ^
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1097 合并果子
语言
C++
递交时间
2023-09-22 20:26:58
评测时间
2023-09-22 20:26:58
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes