Wrong Answer
foo.cc: In member function 'int Time::de(Time&)': foo.cc:37:13: warning: unused variable 'num' [-Wunused-variable] 37 | int num = 0; | ^~~ foo.cc: In member function 'int Date::de(Date&)': foo.cc:94:18: warning: statement has no effect [-Wunused-value] 94 | for (m; m < obj.m; m++) | ^ foo.cc:96:18: warning: statement has no effect [-Wunused-value] 96 | for (y; y <= obj.y; y++) | ^ foo.cc:105:18: warning: statement has no effect [-Wunused-value] 105 | for (y; y < obj.y-1; y++) | ^
信息
- 递交者
- 类型
- 递交
- 题目
- P1008 OO1-6 日期时间类DateTime
- 比赛
- 2024春 面向对象的程序设计方法(第1场作业赛)
- 语言
- C++
- 递交时间
- 2024-03-18 18:35:41
- 评测时间
- 2024-03-18 18:35:41
- 评测机
- 分数
- 0
- 总耗时
- 15ms
- 峰值内存
- 552.0 KiB