记录详情

Accepted

/in/foo.c: In function 'main':
/in/foo.c:5:24: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'long int *' [-Wformat=]
  long int a,b; scanf("%d%d",&a,&b);
                       ~^    ~~
                       %ld
/in/foo.c:5:26: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long int *' [-Wformat=]
  long int a,b; scanf("%d%d",&a,&b);
                         ~^     ~~
                         %ld
/in/foo.c:6:14: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=]
     printf("%d\n",a+b);
             ~^    ~~~
             %ld
# 状态 耗时 内存占用
#1 Accepted 0ms 188.0 KiB
#2 Accepted 0ms 188.0 KiB
#3 Accepted 0ms 204.0 KiB
#4 Accepted 0ms 184.0 KiB
#5 Accepted 0ms 184.0 KiB
#6 Accepted 0ms 204.0 KiB
#7 Accepted 0ms 188.0 KiB
#8 Accepted 0ms 188.0 KiB
#9 Accepted 0ms 204.0 KiB
#10 Accepted 0ms 188.0 KiB

信息

递交者
类型
递交
题目
欢迎来到南师大计算机学院OnlineJudge!
比赛
入门测试
语言
C
递交时间
2018-11-24 15:29:13
评测时间
2018-11-24 15:29:13
评测机
分数
100
总耗时
9ms
峰值内存
204.0 KiB