/ Vijos /

记录详情

Time Exceeded

foo.cc: In function 'int main()':
foo.cc:18:13: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
   18 |     scanf("%d%d%d%d",&m,&n,&kk,&ll);
      |            ~^        ~~
      |             |        |
      |             int*     long long int*
      |            %lld
foo.cc:18:15: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
   18 |     scanf("%d%d%d%d",&m,&n,&kk,&ll);
      |              ~^         ~~
      |               |         |
      |               int*      long long int*
      |              %lld
foo.cc:18:17: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long long int*' [-Wformat=]
   18 |     scanf("%d%d%d%d",&m,&n,&kk,&ll);
      |                ~^          ~~~
      |                 |          |
      |                 int*       long long int*
      |                %lld
foo.cc:18:19: warning: format '%d' expects argument of type 'int*', but argument 5 has type 'long long int*' [-Wformat=]
   18 |     scanf("%d%d%d%d",&m,&n,&kk,&ll);
      |                  ~^            ~~~
      |                   |            |
      |                   int*         long long int*
      |                  %lld
foo.cc:22:21: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
   22 |             scanf("%d",&t[i][j]);
      |                    ~^  ~~~~~~~~
      |                     |  |
      |                     |  long long int*
      |                     int*
      |                    %lld
foo.cc:37:14: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
   37 |     printf("%d",ans-kk);
      |             ~^  ~~~~~~
      |              |     |
      |              int   long long int
      |             %lld
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 19ms 8.324 MiB
#2 Accepted 24ms 8.527 MiB
#3 Accepted 19ms 8.277 MiB
#4 Accepted 26ms 8.777 MiB
#5 Accepted 31ms 8.766 MiB
#6 Wrong Answer Read -26596, expect 425462. 83ms 11.027 MiB
#7 Wrong Answer Read -62899, expect 387506. 514ms 12.645 MiB
#8 Time Exceeded ≥1001ms ≥12.523 MiB
#9 Time Exceeded ≥1102ms ≥14.086 MiB
#10 Time Exceeded ≥1102ms ≥15.691 MiB

信息

递交者
类型
递交
题目
P1243 生产产品
语言
C++
递交时间
2023-06-09 18:44:34
评测时间
2023-06-09 18:44:34
评测机
分数
50
总耗时
≥3925ms
峰值内存
≥15.691 MiB