记录详情

Accepted

/in/foo.cc: In function 'bool f(int)':
/in/foo.cc:7:41: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  if (year % 400 == 0 || year % 100 != 0 && year % 4 == 0) return true;
                         ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:129:12: warning: unused variable 'j' [-Wunused-variable]
  int x, i, j;
            ^
/in/foo.cc:133:19: warning: unused variable 't' [-Wunused-variable]
  person* p[10], * t = new person;
                   ^
# 状态 耗时 内存占用
#1 Accepted 1ms 412.0 KiB
#2 Accepted 2ms 356.0 KiB
#3 Accepted 2ms 332.0 KiB
#4 Accepted 1ms 324.0 KiB
#5 Accepted 1ms 340.0 KiB

信息

递交者
类型
递交
比赛
2022春 面向对象程序设计方法的上机作业
语言
C++
递交时间
2022-06-21 23:03:19
评测时间
2022-06-21 23:03:19
评测机
分数
100
总耗时
9ms
峰值内存
412.0 KiB