/ /

记录详情

Wrong Answer

foo.cc: In function 'int day(int)':
foo.cc:18:9: warning: 'ans' may be used uninitialized in this function [-Wmaybe-uninitialized]
  return ans;
         ^~~
foo.cc: In function 'int main()':
foo.cc:29:6: warning: 'ans' may be used uninitialized in this function [-Wmaybe-uninitialized]
   ans+=day(i);
   ~~~^~~~~~~~
foo.cc:26:19: warning: 'ans' may be used uninitialized in this function [-Wmaybe-uninitialized]
  int ans=(day(d1m)-d1d)+d2d;
          ~~~~~~~~~^~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 365, expect 364. 1ms 384.0 KiB
#2 Wrong Answer Read 31, expect 0. 1ms 352.0 KiB
#3 Wrong Answer Read 26, expect 25. 1ms 384.0 KiB
#4 Wrong Answer Read 29, expect 28. 1ms 384.0 KiB
#5 Wrong Answer Read 307, expect 306. 2ms 384.0 KiB

信息

递交者
类型
递交
题目
P1055 xf1-6计算日期
语言
C++
递交时间
2021-08-04 16:43:54
评测时间
2021-08-04 16:43:54
评测机
分数
0
总耗时
9ms
峰值内存
384.0 KiB