Accepted
/in/foo.c: In function 'main': /in/foo.c:10:10: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'long int *' [-Wformat=] scanf("%d%d",&n,&m); ~^ ~~ %ld /in/foo.c:10:12: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long int *' [-Wformat=] scanf("%d%d",&n,&m); ~^ ~~ %ld /in/foo.c:30:13: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] printf("%d", a[i]); ~^ ~~~~ %ld
信息
- 递交者
- 类型
- 递交
- 题目
- 3-2 约瑟夫问题
- 比赛
- 课程赛事 2018/12/8
- 语言
- C
- 递交时间
- 2018-12-08 09:05:24
- 评测时间
- 2018-12-08 09:05:24
- 评测机
- 分数
- 100
- 总耗时
- 12ms
- 峰值内存
- 208.0 KiB