记录详情

Accepted

foo.c: In function 'main':
foo.c:8:19: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'long long int *' [-Wformat=]
    8 |           scanf("%d",&n) ;
      |                  ~^  ~~
      |                   |  |
      |                   |  long long int *
      |                   int *
      |                  %lld
foo.c:12:25: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'long long int *' [-Wformat=]
   12 |                 scanf("%d",&arr[i]);
      |                        ~^  ~~~~~~~
      |                         |  |
      |                         |  long long int *
      |                         int *
      |                        %lld
foo.c:28:18: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
   28 |         printf("%d ",arr[a]);
      |                 ~^   ~~~~~~
      |                  |      |
      |                  int    long long int
      |                 %lld
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 1ms 284.0 KiB
#2 Accepted 329ms 13.27 MiB

信息

递交者
类型
递交
题目
1-3 序列循环左移
比赛
2023 程序设计与竞赛(作业2:相逢是美赛)
语言
C
递交时间
2023-09-23 19:27:20
评测时间
2023-09-23 19:27:20
评测机
分数
100
总耗时
330ms
峰值内存
13.27 MiB