/ 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 212.0 KiB
#2 Accepted 1ms 228.0 KiB
#3 Accepted 1ms 224.0 KiB
#4 Wrong Answer 1ms 228.0 KiB
#5 Wrong Answer 1ms 224.0 KiB
#6 Runtime Error 1ms 224.0 KiB
#7 Runtime Error 1ms 220.0 KiB
#8 Runtime Error 1ms 228.0 KiB
#9 Runtime Error 1ms 220.0 KiB
#10 Runtime Error 1ms 224.0 KiB

信息

递交者
类型
递交
题目
P1047 最小公倍数
语言
C++
递交时间
2019-07-19 23:28:13
评测时间
2019-07-19 23:28:13
评测机
分数
30
总耗时
12ms
峰值内存
228.0 KiB