/ Vijos /

记录详情

Runtime Error

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

信息

递交者
类型
递交
题目
P1047 最小公倍数
语言
C++
递交时间
2020-02-16 11:47:47
评测时间
2020-02-16 11:47:47
评测机
分数
30
总耗时
13ms
峰值内存
220.0 KiB