记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:10:10: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'll*' {aka 'long long int*'} [-Wformat=]
   10 |  scanf("%d%d%d%d%d%d%d",&n,&m,&a,&b,&c,&d,&k);
      |         ~^              ~~
      |          |              |
      |          int*           ll* {aka long long int*}
      |         %lld
foo.cc:10:12: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'll*' {aka 'long long int*'} [-Wformat=]
   10 |  scanf("%d%d%d%d%d%d%d",&n,&m,&a,&b,&c,&d,&k);
      |           ~^               ~~
      |            |               |
      |            int*            ll* {aka long long int*}
      |           %lld
foo.cc:10:14: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'll*' {aka 'long long int*'} [-Wformat=]
   10 |  scanf("%d%d%d%d%d%d%d",&n,&m,&a,&b,&c,&d,&k);
      |             ~^                ~~
      |              |                |
      |              int*             ll* {aka long long int*}
      |             %lld
foo.cc:10:16: warning: format '%d' expects argument of type 'int*', but argument 5 has type 'll*' {aka 'long long int*'} [-Wformat=]
   10 |  scanf("%d%d%d%d%d%d%d",&n,&m,&a,&b,&c,&d,&k);
      |               ~^                 ~~
      |                |                 |
      |                int*              ll* {aka long long int*}
      |               %lld
foo.cc:10:18: warning: format '%d' expects argument of type 'int*', but argument 6 has type 'll*' {aka 'long long int*'} [-Wformat=]
   10 |  scanf("%d%d%d%d%d%d%d",&n,&m,&a,&b,&c,&d,&k);
      |                 ~^                  ~~
      |                  |                  |
      |                  int*               ll* {aka long long int*}
      |                 %lld
foo.cc:10:20: warning: format '%d' expects argument of type 'int*', but argument 7 has type 'll*' {aka 'long long int*'} [-Wformat=]
   10 |  scanf("%d%d%d%d%d%d%d",&n,&m,&a,&b,&c,&d,&k);
      |                   ~^                   ~~
      |                    |                   |
      |                    int*                ll* {aka long long int*}
      |                   %lld
foo.cc:10:22: warning: format '%d' expects argument of type 'int*', but argument 8 has type 'll*' {aka 'long long int*'} [-Wformat=]
   10 |  scanf("%d%d%d%d%d%d%d",&n,&m,&a,&b,&c,&d,&k);
      |                     ~^                    ~~
      |                      |                    |
      |                      int*                 ll* {aka long long int*}
      |                     %lld
foo.cc:31:11: warning: format '%d' expects argument of type 'int', but argument 2 has type 'll' {aka 'long long int'} [-Wformat=]
   31 |  printf("%d",ans);
      |          ~^  ~~~
      |           |  |
      |           |  ll {aka long long int}
      |           int
      |          %lld
foo.cc:10:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   10 |  scanf("%d%d%d%d%d%d%d",&n,&m,&a,&b,&c,&d,&k);
      |  ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 1ms 256.0 KiB
#2 Accepted 2ms 256.0 KiB
#3 Accepted 1ms 256.0 KiB
#4 Accepted 2ms 256.0 KiB
#5 Accepted 1ms 256.0 KiB
#6 Accepted 1ms 256.0 KiB
#7 Accepted 1ms 256.0 KiB
#8 Accepted 1ms 256.0 KiB
#9 Accepted 1ms 256.0 KiB
#10 Accepted 1ms 256.0 KiB
#11 Accepted 1ms 256.0 KiB
#12 Accepted 1ms 256.0 KiB
#13 Accepted 1ms 256.0 KiB
#14 Accepted 1ms 256.0 KiB
#15 Accepted 1ms 256.0 KiB
#16 Accepted 1ms 256.0 KiB
#17 Accepted 1ms 256.0 KiB
#18 Accepted 1ms 256.0 KiB
#19 Accepted 1ms 256.0 KiB
#20 Accepted 1ms 256.0 KiB
#21 Accepted 1ms 256.0 KiB
#22 Accepted 1ms 256.0 KiB
#23 Accepted 1ms 256.0 KiB
#24 Accepted 1ms 256.0 KiB
#25 Accepted 1ms 256.0 KiB
#26 Accepted 1ms 256.0 KiB
#27 Accepted 1ms 384.0 KiB
#28 Accepted 1ms 256.0 KiB
#29 Accepted 1ms 256.0 KiB
#30 Accepted 1ms 256.0 KiB
#31 Accepted 3ms 896.0 KiB
#32 Accepted 3ms 1.0 MiB
#33 Accepted 3ms 1.0 MiB
#34 Accepted 3ms 896.0 KiB
#35 Accepted 4ms 1.0 MiB
#36 Accepted 4ms 1.0 MiB
#37 Accepted 3ms 896.0 KiB
#38 Accepted 4ms 1012.0 KiB
#39 Accepted 3ms 896.0 KiB
#40 Accepted 5ms 896.0 KiB
#41 Accepted 4ms 1.0 MiB
#42 Accepted 4ms 1.0 MiB
#43 Accepted 4ms 1.0 MiB
#44 Accepted 3ms 896.0 KiB
#45 Accepted 5ms 1.0 MiB
#46 Accepted 4ms 896.0 KiB
#47 Accepted 3ms 896.0 KiB
#48 Accepted 5ms 1.0 MiB
#49 Accepted 4ms 896.0 KiB
#50 Accepted 3ms 896.0 KiB
#51 Accepted 4ms 896.0 KiB
#52 Accepted 3ms 896.0 KiB
#53 Accepted 4ms 1.0 MiB
#54 Accepted 4ms 1.0 MiB
#55 Accepted 4ms 896.0 KiB
#56 Accepted 5ms 1.0 MiB
#57 Accepted 5ms 896.0 KiB
#58 Accepted 3ms 896.0 KiB
#59 Accepted 3ms 896.0 KiB
#60 Accepted 4ms 1.0 MiB

信息

递交者
类型
递交
题目
P1345 1D 象棋
比赛
悬赏令第一周
语言
C++
递交时间
2022-04-01 19:45:40
评测时间
2022-04-01 19:45:40
评测机
分数
120
总耗时
172ms
峰值内存
1.0 MiB