Wrong Answer

foo.cc: In function 'int main()':
foo.cc:8:3: warning: statement has no effect [-Wunused-value]
  m<n;
  ~^~
foo.cc:27:14: warning: 'Sn' may be used uninitialized in this function [-Wmaybe-uninitialized]
  if(Sm==m+n+1&&Sn==m+n+1&&Sm==Sn)
     ~~~~~~~~~^~~~~~~~~~~
foo.cc:27:2: warning: 'Sm' may be used uninitialized in this function [-Wmaybe-uninitialized]
  if(Sm==m+n+1&&Sn==m+n+1&&Sm==Sn)
  ^~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read No, expect Yes. 1ms 400.0 KiB
#2 Accepted 1ms 404.0 KiB

信息

递交者
类型
递交
题目
P1112 满足条件的4位整数(1)
语言
C++
递交时间
2021-08-09 11:33:27
评测时间
2021-08-09 11:33:27
评测机
分数
50
总耗时
3ms
峰值内存
404.0 KiB