/ 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 4ms 348.0 KiB
#2 Accepted 3ms 256.0 KiB
#3 Accepted 4ms 344.0 KiB
#4 Wrong Answer 4ms 256.0 KiB
#5 Wrong Answer 3ms 384.0 KiB
#6 Runtime Error 3ms 336.0 KiB
#7 Runtime Error 5ms 380.0 KiB
#8 Runtime Error 4ms 372.0 KiB
#9 Runtime Error 4ms 256.0 KiB
#10 Runtime Error 3ms 372.0 KiB

信息

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