记录详情

Wrong Answer

/in/foo.c: In function 'main':
/in/foo.c:7:11: warning: format '%ld' expects argument of type 'long int *', but argument 2 has type 'long long int *' [-Wformat=]
  scanf("%ld%ld",&x,&y);
           ^
/in/foo.c:7:14: warning: format '%ld' expects argument of type 'long int *', but argument 3 has type 'long long int *' [-Wformat=]
  scanf("%ld%ld",&x,&y);
              ^
/in/foo.c:15:12: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'long long int' [-Wformat=]
  printf("%ld ",a);
            ^
/in/foo.c:16:12: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'long long int' [-Wformat=]
  printf("%ld",a/x*b);
            ^
# 状态 耗时 内存占用
#1 Wrong Answer 0ms 220.0 KiB
#2 Wrong Answer 0ms 128.0 KiB
#3 Wrong Answer 0ms 128.0 KiB
#4 Wrong Answer 0ms 128.0 KiB
#5 Wrong Answer 0ms 128.0 KiB

信息

递交者
类型
递交
题目
P1166 最小公倍数和最大公约数问题
语言
C
递交时间
2021-01-24 10:10:09
评测时间
2021-01-24 10:10:09
评测机
分数
0
总耗时
3ms
峰值内存
220.0 KiB