/ 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:147:1: error: '\U00005927\U00006839\U00005806' does not name a type
  147 | 大根堆
      | ^~~~~~
foo.cc:167:1: error: 'largest_heap' does not name a type; did you mean 'smallest_heap'?
  167 | largest_heap<item>::largest_heap(){
      | ^~~~~~~~~~~~
      | smallest_heap
foo.cc:173:18: error: expected initializer before '<' token
  173 | void largest_heap<item>::push(item const &n){
      |                  ^
foo.cc:183:18: error: expected initializer before '<' token
  183 | void largest_heap<item>::pop(){
      |                  ^
foo.cc:197:18: error: expected initializer before '<' token
  197 | item largest_heap<item>::top(){
      |                  ^
foo.cc:202:17: error: expected initializer before '<' token
  202 | int largest_heap<item>::size(){
      |                 ^
foo.cc:207:18: error: expected initializer before '<' token
  207 | bool largest_heap<item>::empty(){
      |                  ^
[Hydro](https://hydro.ac)提供评测服务

信息

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