Wrong Answer

foo.cc: In function 'int sn(int)':
foo.cc:12:9: warning: 's' may be used uninitialized in this function [-Wmaybe-uninitialized]
   12 |  return s;
      |         ^
foo.cc: In function 'int main()':
foo.cc:18:33: warning: 's' may be used uninitialized in this function [-Wmaybe-uninitialized]
   18 |  if(m+3==n && sn(m)%6==0 &&sn(n)%6==0)
      |                            ~~~~~^~
foo.cc:18:20: warning: 's' may be used uninitialized in this function [-Wmaybe-uninitialized]
   18 |  if(m+3==n && sn(m)%6==0 &&sn(n)%6==0)
      |               ~~~~~^~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read No, expect Yes. 2ms 384.0 KiB
#2 Accepted 1ms 384.0 KiB

信息

递交者
类型
递交
题目
P1126 幸运数对(1)
语言
C++
递交时间
2021-12-12 14:20:34
评测时间
2021-12-12 14:20:34
评测机
分数
50
总耗时
3ms
峰值内存
384.0 KiB