/ Vijos /

记录详情

Runtime Error

foo.cc: In function 'int bs(int, int)':
foo.cc:12:22: warning: 'ys' may be used uninitialized in this function [-Wmaybe-uninitialized]
  return (ys*(a/ys)*(b/ys));
                    ~~^~~~
foo.cc: In function 'int main()':
foo.cc:12:22: warning: 'ys' may be used uninitialized in this function [-Wmaybe-uninitialized]
  return (ys*(a/ys)*(b/ys));
                    ~~^~~~
foo.cc:6:6: note: 'ys' was declared here
  int ys, lsb = b;
      ^~

自豪的采用jd5进行评测(github.com/masnn/jd5)
{"receive":"2020-03-01T02:36:57.755Z","handle":"2020-03-01T02:36:57.755Z","cache_start":"2020-03-01T02:36:57.756Z","read_cases":"2020-03-01T02:36:58.180Z","judge":"2020-03-01T02:36:58.186Z","done":"2020-03-01T02:36:58.822Z"}
# 状态 耗时 内存占用
#1 Accepted 2ms 304.0 KiB
#2 Accepted 1ms 344.0 KiB
#3 Accepted 1ms 304.0 KiB
#4 Wrong Answer 2ms 344.0 KiB
#5 Runtime Error Floating point exception 2ms 296.0 KiB
#6 Wrong Answer 2ms 304.0 KiB
#7 Runtime Error Floating point exception 2ms 268.0 KiB
#8 Runtime Error Floating point exception 2ms 236.0 KiB
#9 Runtime Error Floating point exception 2ms 268.0 KiB
#10 Runtime Error Floating point exception 2ms 216.0 KiB

信息

递交者
类型
递交
题目
P1047 最小公倍数
语言
C++
递交时间
2020-03-01 10:36:57
评测时间
2020-03-01 10:36:57
评测机
分数
30
总耗时
18ms
峰值内存
344.0 KiB