Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:7:10: warning: right operand of comma operator has no effect [-Wunused-value]
  cin>>a,b;
          ^
/in/foo.cc:14:28: warning: format '%d' expects argument of type 'int', but argument 2 has type 'int*' [-Wformat=]
    printf("%d,%f",&c," ",&d);
                            ^
/in/foo.cc:14:28: warning: format '%f' expects argument of type 'double', but argument 3 has type 'const char*' [-Wformat=]
/in/foo.cc:14:28: warning: too many arguments for format [-Wformat-extra-args]
/in/foo.cc:8:3: warning: 'b' is used uninitialized in this function [-Wuninitialized]
  c=b;
  ~^~
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 348.0 KiB
#2 Wrong Answer 1ms 356.0 KiB

信息

递交者
类型
递交
题目
P1044 最大公约数和最小公倍数
语言
C++
递交时间
2024-03-17 20:37:10
评测时间
2024-03-17 20:37:10
评测机
分数
0
总耗时
3ms
峰值内存
356.0 KiB