Runtime Error

foo.cc: In function ‘int main()’:
foo.cc:7:19: warning: ‘n’ is used uninitialized [-Wuninitialized]
    7 |         if(a/m > b/n)
      |                  ~^~
foo.cc:5:19: note: ‘n’ was declared here
    5 |         int a,m,b,n;
      |                   ^
# 状态 耗时 内存占用
#1 Runtime Error Floating point exception 2ms 324.0 KiB
#2 Runtime Error Floating point exception 2ms 512.0 KiB
#3 Runtime Error Floating point exception 3ms 536.0 KiB
#4 Runtime Error Floating point exception 2ms 536.0 KiB
#5 Runtime Error Floating point exception 2ms 536.0 KiB

信息

递交者
类型
递交
题目
P1037 xf2-1切冰西瓜
语言
C++
递交时间
2024-05-03 08:04:55
评测时间
2024-05-03 08:04:55
评测机
分数
0
总耗时
13ms
峰值内存
536.0 KiB