Wrong Answer

foo.cc: In function 'int main()':
foo.cc:9:14: warning: 'm' is used uninitialized [-Wuninitialized]
    9 |         if (m>n) swap(m,n);
      |             ~^~
foo.cc:7:13: note: 'm' declared here
    7 |         int m, n;
      |             ^
foo.cc:9:14: warning: 'n' is used uninitialized [-Wuninitialized]
    9 |         if (m>n) swap(m,n);
      |             ~^~
foo.cc:7:16: note: 'n' declared here
    7 |         int m, n;
      |                ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 3ms 256.0 KiB
#2 Accepted 2ms 256.0 KiB
#3 Accepted 1ms 256.0 KiB
#4 Wrong Answer Read 536870912, expect 1056964608. 1ms 256.0 KiB
#5 Accepted 1ms 384.0 KiB

信息

递交者
类型
递交
题目
P1740 国王的米粒
语言
C++
递交时间
2022-09-07 17:24:58
评测时间
2022-09-07 17:24:58
评测机
分数
80
总耗时
10ms
峰值内存
384.0 KiB