Wrong Answer

foo.cc: In function ‘int main()’:
foo.cc:11:22: warning: ‘s’ may be used uninitialized [-Wmaybe-uninitialized]
   11 |                     s+=i;
      |                     ~^~~
foo.cc:4:17: note: ‘s’ was declared here
    4 |         int i,n,s;
      |                 ^
# 状态 耗时 内存占用
#1 Wrong Answer Read NO, expect No. 3ms 536.0 KiB
#2 Wrong Answer Read NO, expect Yes. 2ms 536.0 KiB

信息

递交者
类型
递交
题目
P1038 完数
语言
C++
递交时间
2024-04-12 16:27:27
评测时间
2024-04-12 16:27:27
评测机
分数
0
总耗时
5ms
峰值内存
536.0 KiB