记录详情

Accepted

/in/foo.c: In function 'main':
/in/foo.c:5: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:5: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:13:12: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'long long int' [-Wformat=]
  printf("%ld\n", x);
            ^
/in/foo.c:14:12: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'long long int' [-Wformat=]
  printf("%ld", m*n / x);
            ^
# 状态 耗时 内存占用
#1 Accepted 0ms 204.0 KiB
#2 Accepted 0ms 204.0 KiB
#3 Accepted 0ms 204.0 KiB
#4 Accepted 0ms 204.0 KiB
#5 Accepted 0ms 200.0 KiB

信息

递交者
类型
递交
题目
A6-1 最大公约数专题:最大公约数和最小公倍数
比赛
基于基本数据类型的程序设计训练
语言
C
递交时间
2019-03-28 13:05:50
评测时间
2019-03-28 13:05:50
评测机
分数
100
总耗时
4ms
峰值内存
204.0 KiB