记录详情

Wrong Answer

foo.cc: In function 'int Hws(int)':
foo.cc:46:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^
foo.cc:31:16: warning: 'n' is used uninitialized in this function [-Wuninitialized]
  for(int x=1; x<=n; x++) 
               ~^~~
foo.cc:45:14: warning: 'cnt' may be used uninitialized in this function [-Wmaybe-uninitialized]
  cout<<endl<<cnt<<endl;  
              ^~~
# 状态 耗时 内存占用
#1 Accepted 1ms 384.0 KiB
#2 Wrong Answer Read {0}, expect {1}. ["","19"] 1ms 384.0 KiB
#3 Accepted 1ms 384.0 KiB
#4 Wrong Answer Read {0}, expect {1}. ["","209"] 2ms 384.0 KiB
#5 Accepted 3ms 384.0 KiB

信息

递交者
类型
递交
比赛
2020苏青奥赛集训营(2021-1-31课堂小练)
语言
C++
递交时间
2021-01-31 15:44:14
评测时间
2021-01-31 15:44:14
评测机
分数
60
总耗时
10ms
峰值内存
384.0 KiB