记录详情

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++)
      |                  ^
# 状态 耗时 内存占用
#1 Wrong Answer Read DateTime(), expect 36000. 3ms 552.0 KiB
#2 Wrong Answer Read DateTime(), expect 3. 3ms 536.0 KiB
#3 Wrong Answer Read DateTime(), expect 3600. 3ms 324.0 KiB
#4 Wrong Answer Read DateTime(), expect 360000. 2ms 540.0 KiB
#5 Wrong Answer Read DateTime(), expect 3. 2ms 536.0 KiB

信息

递交者
类型
递交
题目
P1008 OO1-6 日期时间类DateTime
比赛
2024春 面向对象的程序设计方法(第1场作业赛)
语言
C++
递交时间
2024-03-18 18:35:41
评测时间
2024-03-18 18:35:41
评测机
分数
0
总耗时
15ms
峰值内存
552.0 KiB