Compile Error
foo.cc:88:5: error: ISO C++ forbids declaration of ‘output’ with no type [-fpermissive]
   88 |     output()
      |     ^~~~~~
foo.cc: In member function ‘int Person::output()’:
foo.cc:94:5: warning: no return statement in function returning non-void [-Wreturn-type]
   94 |     }
      |     ^
  信息
- 递交者
 - 类型
 - 自测
 - 题目
 - P1039 OO9-2 组合了人类的人群类的始终
 - 语言
 - C++
 - 递交时间
 - 2024-05-05 11:22:33
 - 评测时间
 - 2024-05-05 11:22:33
 - 评测机
 
- 分数
 - 0
 - 总耗时
 - 0ms
 - 峰值内存
 - 0 Bytes