记录详情

Wrong Answer

/in/foo.cc: In member function 'int Date::de(Date&)':
/in/foo.cc:45:18: warning: statement has no effect [-Wunused-value]
             for (m; m < obj.m; m++)
                  ^
/in/foo.cc:47:18: warning: statement has no effect [-Wunused-value]
             for (y; y <= obj.y; y++)
                  ^
/in/foo.cc:56:18: warning: statement has no effect [-Wunused-value]
             for (y; y < obj.y-1; y++)
                  ^
/in/foo.cc: In member function 'int Date::isleap()':
/in/foo.cc:29:5: warning: control reaches end of non-void function [-Wreturn-type]
     }
     ^
# 状态 耗时 内存占用
#1 Accepted 1ms 348.0 KiB
#2 Accepted 1ms 360.0 KiB
#3 Wrong Answer 1ms 360.0 KiB
#4 Wrong Answer 1ms 356.0 KiB
#5 Wrong Answer 1ms 360.0 KiB

信息

递交者
类型
递交
题目
P1005 OO1-4 日期类Date
比赛
2024春 面向对象的程序设计方法(第1场作业赛)
语言
C++
递交时间
2024-03-18 00:12:02
评测时间
2024-03-18 00:12:02
评测机
分数
40
总耗时
7ms
峰值内存
360.0 KiB