/ Vijos /

记录详情

Runtime Error

/in/foo.cc: In function 'int bs(int, int)':
/in/foo.cc:6:9: warning: unused variable 'n' [-Wunused-variable]
     int n = 0, ys, ls = 0 , lsb = b;
         ^
/in/foo.cc:21:25: 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:21:25: warning: 'ys' may be used uninitialized in this function [-Wmaybe-uninitialized]
     return (ys*(a/ys)*(b/ys));
                       ~~^~~~
/in/foo.cc:6:16: note: 'ys' was declared here
     int n = 0, ys, ls = 0 , lsb = b;
                ^~
# 状态 耗时 内存占用
#1 Accepted 1ms 484.0 KiB
#2 Accepted 1ms 760.0 KiB
#3 Accepted 1ms 204.0 KiB
#4 Wrong Answer 1ms 216.0 KiB
#5 Wrong Answer 1ms 212.0 KiB
#6 Runtime Error 1ms 216.0 KiB
#7 Runtime Error 1ms 204.0 KiB
#8 Runtime Error 2ms 212.0 KiB
#9 Runtime Error 2ms 204.0 KiB
#10 Runtime Error 2ms 204.0 KiB

信息

递交者
类型
递交
题目
P1047 最小公倍数
语言
C++
递交时间
2019-06-14 20:22:36
评测时间
2019-06-14 20:22:36
评测机
分数
30
总耗时
18ms
峰值内存
760.0 KiB