记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:10:28: warning: 'sum' may be used uninitialized [-Wmaybe-uninitialized]
   10 |                         sum+=i;
      |                         ~~~^~~
foo.cc:5:19: note: 'sum' was declared here
    5 |         int     n,sum;
      |                   ^~~
# 状态 耗时 内存占用
#1 Wrong Answer Read -329019964, expect 60. 3ms 324.0 KiB
#2 Wrong Answer Read -41562628, expect 372. 2ms 536.0 KiB
#3 Wrong Answer Read -413576588, expect 12. 2ms 540.0 KiB
#4 Wrong Answer Read -717928462, expect 378. 2ms 764.0 KiB
#5 Wrong Answer Read 683474009, expect 465. 2ms 536.0 KiB

信息

递交者
类型
递交
题目
A3-1 素数专题:因子的和
比赛
2024-3-15 信息教师练习赛(2)
语言
C++
递交时间
2024-03-21 15:27:53
评测时间
2024-03-21 15:27:53
评测机
分数
0
总耗时
13ms
峰值内存
764.0 KiB