/ Vijos /

记录详情

Runtime Error

/in/foo.cc: In function 'int bs(int, int)':
/in/foo.cc:5:6: warning: unused variable 'n' [-Wunused-variable]
  int n = 0, ys, ls = 0 , lsb = b;
      ^
/in/foo.cc:20:22: warning: 'ys' may be used uninitialized in this function [-Wmaybe-uninitialized]
  return (ys*(a/ys)*(b/ys));
                    ~~^~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:20:22: warning: 'ys' may be used uninitialized in this function [-Wmaybe-uninitialized]
  return (ys*(a/ys)*(b/ys));
                    ~~^~~~
/in/foo.cc:5:13: note: 'ys' was declared here
  int n = 0, ys, ls = 0 , lsb = b;
             ^~
# 状态 耗时 内存占用
#1 Accepted 3ms 256.0 KiB
#2 Accepted 3ms 368.0 KiB
#3 Accepted 3ms 372.0 KiB
#4 Wrong Answer 4ms 372.0 KiB
#5 Wrong Answer 3ms 352.0 KiB
#6 Runtime Error 4ms 360.0 KiB
#7 Runtime Error 3ms 216.0 KiB
#8 Runtime Error 3ms 332.0 KiB
#9 Runtime Error 4ms 372.0 KiB
#10 Runtime Error 3ms 356.0 KiB

信息

递交者
类型
递交
题目
P1047 最小公倍数
语言
C++
递交时间
2018-10-11 13:33:25
评测时间
2018-10-11 13:33:25
评测机
分数
30
总耗时
39ms
峰值内存
372.0 KiB