记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:54:17: warning: 'z' may be used uninitialized [-Wmaybe-uninitialized]
   54 |         cout << z << m;
      |                 ^
foo.cc:6:41: note: 'z' was declared here
    6 |         int x, y, max, min, c, m, a, b, z, i, n;
      |                                         ^
foo.cc:54:22: warning: 'm' may be used uninitialized [-Wmaybe-uninitialized]
   54 |         cout << z << m;
      |                      ^
foo.cc:6:32: note: 'm' was declared here
    6 |         int x, y, max, min, c, m, a, b, z, i, n;
      |                                ^
foo.cc:31:19: warning: 'c' may be used uninitialized [-Wmaybe-uninitialized]
   31 |                 m = (x * y) / c;
      |                 ~~^~~~~~~~~~~~~
foo.cc:6:29: note: 'c' was declared here
    6 |         int x, y, max, min, c, m, a, b, z, i, n;
      |                             ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Standard answer longer than user output. 4ms 412.0 KiB
#2 Wrong Answer Standard answer longer than user output. 4ms 412.0 KiB
#3 Wrong Answer Standard answer longer than user output. 4ms 412.0 KiB
#4 Wrong Answer Standard answer longer than user output. 4ms 412.0 KiB
#5 Wrong Answer Standard answer longer than user output. 3ms 412.0 KiB

信息

递交者
类型
递交
题目
A6-3 最大公约数专题:多个分数的加法
语言
C++
递交时间
2023-11-11 15:57:30
评测时间
2023-11-11 15:57:30
评测机
分数
0
总耗时
21ms
峰值内存
412.0 KiB