/ Vijos /

记录详情

Runtime Error

/in/foo.cc: In function 'long long int gcd(long long int, long long int)':
/in/foo.cc:8:21: warning: left operand of comma operator has no effect [-Wunused-value]
         return (b,a%b);
                     ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:22:12: warning: 'd' may be used uninitialized in this function [-Wmaybe-uninitialized]
     cout<<a/d*b<<endl;
           ~^~
# 状态 耗时 内存占用
#1 Accepted 4ms 368.0 KiB
#2 Accepted 3ms 384.0 KiB
#3 Accepted 2ms 348.0 KiB
#4 Accepted 3ms 364.0 KiB
#5 Time Exceeded ≥1004ms ≥336.0 KiB
#6 Runtime Error 3ms 352.0 KiB
#7 Runtime Error 4ms 372.0 KiB
#8 Runtime Error 2ms 344.0 KiB
#9 Runtime Error 3ms 372.0 KiB
#10 Runtime Error 6ms 376.0 KiB

信息

递交者
类型
递交
题目
P1047 最小公倍数
语言
C++
递交时间
2018-07-24 19:18:36
评测时间
2018-07-24 19:18:36
评测机
分数
40
总耗时
1038ms
峰值内存
384.0 KiB