记录详情

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
# 状态 耗时 内存占用
#1 Accepted 1ms 188.0 KiB
#2 Accepted 0ms 204.0 KiB
#3 Accepted 0ms 192.0 KiB
#4 Accepted 8ms 188.0 KiB
#5 Accepted 0ms 208.0 KiB

信息

递交者
类型
递交
题目
3-2 约瑟夫问题
比赛
课程赛事 2018/12/8
语言
C
递交时间
2018-12-08 09:05:24
评测时间
2018-12-08 09:05:24
评测机
分数
100
总耗时
12ms
峰值内存
208.0 KiB