记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:8:21: warning: 'a' may be used uninitialized in this function [-Wmaybe-uninitialized]
  int tmp;while(b)tmp=a%b,a=b,b=tmp;
                  ~~~^~~~
/in/foo.cc:11:5: note: 'a' was declared here
 int main(){
     ^~~~
/in/foo.cc:8:21: warning: 'b' may be used uninitialized in this function [-Wmaybe-uninitialized]
  int tmp;while(b)tmp=a%b,a=b,b=tmp;
                  ~~~^~~~
/in/foo.cc:11:5: note: 'b' was declared here
 int main(){
     ^~~~
/in/foo.cc:30:10: warning: 'a' may be used uninitialized in this function [-Wmaybe-uninitialized]
  cout<<a/gcd<<endl<<b/gcd<<endl;
          ^~~
# 状态 耗时 内存占用
#1 Accepted 1ms 204.0 KiB
#2 Accepted 1ms 184.0 KiB
#3 Accepted 2ms 192.0 KiB
#4 Accepted 1ms 200.0 KiB
#5 Accepted 1ms 196.0 KiB
#6 Accepted 2ms 312.0 KiB
#7 Accepted 5ms 208.0 KiB
#8 Accepted 6ms 184.0 KiB
#9 Accepted 100ms 192.0 KiB

信息

递交者
类型
递交
题目
最接近的分数 (four.*)
题目数据
下载
语言
C++
递交时间
2018-10-24 14:37:31
评测时间
2018-10-24 14:38:59
评测机
分数
100
总耗时
123ms
峰值内存
312.0 KiB