记录详情

Runtime Error

foo.cc: In destructor 'name::~name()':
foo.cc:13:35: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
   13 |                 for (int i = 0; i < strlen(text); i++)
      |                                 ~~^~~~~~~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:94:21: warning: 'persons' is used uninitialized [-Wuninitialized]
   94 |         persons->ccc();
      |         ~~~~~~~~~~~~^~
foo.cc:93:18: note: 'persons' was declared here
   93 |         Persons *persons;
      |                  ^~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Runtime Error Segmentation fault 1ms 284.0 KiB
#2 Runtime Error Segmentation fault 2ms 284.0 KiB
#3 Runtime Error Segmentation fault 1ms 284.0 KiB
#4 Runtime Error Segmentation fault 2ms 284.0 KiB
#5 Runtime Error Segmentation fault 1ms 332.0 KiB

信息

递交者
类型
递交
题目
P1335 OO9-2 组合了人类的人群类的始终
语言
C++
递交时间
2023-05-26 21:36:27
评测时间
2023-05-26 21:36:27
评测机
分数
0
总耗时
9ms
峰值内存
332.0 KiB