记录详情

Accepted

foo.cc: In constructor 'DateTime::DateTime()':
foo.cc:11:21: warning: unused variable 'y' [-Wunused-variable]
   11 |                 int y=2024,mon=3,d=19,h=0,min=38,s=30;
      |                     ^
foo.cc:11:28: warning: unused variable 'mon' [-Wunused-variable]
   11 |                 int y=2024,mon=3,d=19,h=0,min=38,s=30;
      |                            ^~~
foo.cc:11:34: warning: unused variable 'd' [-Wunused-variable]
   11 |                 int y=2024,mon=3,d=19,h=0,min=38,s=30;
      |                                  ^
foo.cc:11:39: warning: unused variable 'h' [-Wunused-variable]
   11 |                 int y=2024,mon=3,d=19,h=0,min=38,s=30;
      |                                       ^
foo.cc:11:43: warning: unused variable 'min' [-Wunused-variable]
   11 |                 int y=2024,mon=3,d=19,h=0,min=38,s=30;
      |                                           ^~~
foo.cc:11:50: warning: unused variable 's' [-Wunused-variable]
   11 |                 int y=2024,mon=3,d=19,h=0,min=38,s=30;
      |                                                  ^
# 状态 耗时 内存占用
#1 Accepted 3ms 320.0 KiB
#2 Accepted 3ms 536.0 KiB
#3 Accepted 3ms 536.0 KiB
#4 Accepted 2ms 324.0 KiB
#5 Accepted 2ms 536.0 KiB

信息

递交者
类型
递交
题目
P1007 OO1-5 日期时间类DateTime
比赛
2024春 面向对象的程序设计方法(第1场作业赛)
语言
C++
递交时间
2024-03-19 00:55:13
评测时间
2024-03-19 00:55:13
评测机
分数
100
总耗时
14ms
峰值内存
536.0 KiB