记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:8:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
  for(int i=m1;i<m2;i++)
  ^~~
foo.cc:10:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
   gd=gd-d1+d2;
   ^~
foo.cc:10:8: warning: 'gd' may be used uninitialized in this function [-Wmaybe-uninitialized]
   gd=gd-d1+d2;
      ~~^~~
# 状态 耗时 内存占用
#1 Accepted 1ms 384.0 KiB
#2 Accepted 2ms 384.0 KiB
#3 Accepted 2ms 384.0 KiB
#4 Accepted 1ms 384.0 KiB
#5 Accepted 2ms 384.0 KiB

信息

递交者
类型
递交
题目
P1083 xf1-6计算日期
比赛
2020苏青奥赛集训营(2021-2-2课堂小练)
语言
C++
递交时间
2021-02-02 13:22:26
评测时间
2021-02-02 13:22:26
评测机
分数
100
总耗时
10ms
峰值内存
384.0 KiB