Accepted
/in/foo.c: In function 'main': /in/foo.c:6:10: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'long int *' [-Wformat=] scanf("%d%d",&a,&b); ~^ ~~ %ld /in/foo.c:6:12: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long int *' [-Wformat=] scanf("%d%d",&a,&b); ~^ ~~ %ld /in/foo.c:7:14: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] printf("%d\n",a+b); ~^ ~~~ %ld
信息
- 递交者
- 类型
- 递交
- 题目
- 欢迎来到南师大计算机学院OnlineJudge!
- 比赛
- 入门测试
- 语言
- C
- 递交时间
- 2018-11-24 15:31:53
- 评测时间
- 2018-11-24 15:31:53
- 评测机
- 分数
- 100
- 总耗时
- 10ms
- 峰值内存
- 208.0 KiB