记录详情

Runtime Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:13:21: warning: 'n' may be used uninitialized in this function [-Wmaybe-uninitialized]
  cout<<"gcd="<<a(m,n)<<endl;
                     ^
/in/foo.cc:5:6: warning: 'm' may be used uninitialized in this function [-Wmaybe-uninitialized]
  if(m%n==0) return n;
     ~^~
/in/foo.cc:11:8: note: 'm' was declared here
  int t,m,n;
        ^
# 状态 耗时 内存占用
#1 Runtime Error 2ms 380.0 KiB
#2 Runtime Error 3ms 384.0 KiB
#3 Runtime Error 2ms 384.0 KiB
#4 Runtime Error 3ms 256.0 KiB
#5 Runtime Error 4ms 344.0 KiB
#6 Runtime Error 3ms 256.0 KiB

信息

递交者
类型
递交
题目
求最大公约数
题目数据
下载
语言
C++
递交时间
2018-02-09 08:53:45
评测时间
2018-02-09 08:53:45
评测机
分数
0
总耗时
18ms
峰值内存
384.0 KiB