记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:4:30: warning: variable 'c' set but not used [-Wunused-but-set-variable]
    4 |         int i, n, m[100000], c;
      |                              ^
foo.cc:28:19: warning: 'b' may be used uninitialized [-Wmaybe-uninitialized]
   28 |                 y = y * b;
      |                 ~~^~~~~~~
foo.cc:8:23: note: 'b' was declared here
    8 |         int a = m[i], b;
      |                       ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 171875, expect 6875. 4ms 328.0 KiB
#2 Wrong Answer Read -1487460736, expect 1744477020. 4ms 412.0 KiB
#3 Wrong Answer Read 501591540, expect 250795770. 3ms 412.0 KiB
#4 Wrong Answer Read 1102282752, expect 429068640. 4ms 412.0 KiB
#5 Wrong Answer Read 0, expect 54449640. 4ms 412.0 KiB

信息

递交者
类型
递交
题目
5-4 最小公倍数
比赛
2023 程序设计与竞赛(作业3:中秋和国庆)
语言
C++
递交时间
2023-10-01 10:52:40
评测时间
2023-10-01 10:52:40
评测机
分数
0
总耗时
21ms
峰值内存
412.0 KiB