记录详情

Wrong Answer

foo.cc: In function 'int fac(int)':
foo.cc:21:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
foo.cc: In function 'int main()':
foo.cc:32:20: warning: 'n1' is used uninitialized in this function [-Wuninitialized]
  cout<<n<<"="<<n1<<"+"<<n2;
                    ^~~
foo.cc:32:23: warning: 'n2' is used uninitialized in this function [-Wuninitialized]
  cout<<n<<"="<<n1<<"+"<<n2;
  ~~~~~~~~~~~~~~~~~~~~~^~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 4=0+0, expect 4=2+2. 2ms 384.0 KiB
#2 Wrong Answer Read 12=0+0, expect 12=5+7. 2ms 384.0 KiB
#3 Wrong Answer Read 24=0+0, expect 24=5+19. 1ms 384.0 KiB
#4 Wrong Answer Read 48=0+0, expect 48=5+43. 1ms 384.0 KiB
#5 Wrong Answer Read 1000=0+0, expect 1000=3+997. 1ms 384.0 KiB

信息

递交者
类型
递交
比赛
周末测试1
语言
C++
递交时间
2021-09-03 21:02:54
评测时间
2021-09-03 21:02:54
评测机
分数
0
总耗时
10ms
峰值内存
384.0 KiB