Runtime Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:8:13: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
    8 |     scanf("%d %d %d %d %d", &c, &n, &m, &d, &q);
      |            ~^               ~~
      |             |               |
      |             int*            long long int*
      |            %lld
/in/foo.cc:8:16: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
    8 |     scanf("%d %d %d %d %d", &c, &n, &m, &d, &q);
      |               ~^                ~~
      |                |                |
      |                int*             long long int*
      |               %lld
/in/foo.cc:8:19: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long long int*' [-Wformat=]
    8 |     scanf("%d %d %d %d %d", &c, &n, &m, &d, &q);
      |                  ~^                 ~~
      |                   |                 |
      |                   int*              long long int*
      |                  %lld
/in/foo.cc:8:22: warning: format '%d' expects argument of type 'int*', but argument 5 has type 'long long int*' [-Wformat=]
    8 |     scanf("%d %d %d %d %d", &c, &n, &m, &d, &q);
      |                     ~^                  ~~
      |                      |                  |
      |                      int*               long long int*
      |                     %lld
/in/foo.cc:8:25: warning: format '%d' expects argument of type 'int*', but argument 6 has type 'long long int*' [-Wformat=]
    8 |     scanf("%d %d %d %d %d", &c, &n, &m, &d, &q);
      |                        ~^                   ~~
      |                         |                   |
      |                         int*                long long int*
      |                        %lld
/in/foo.cc:22:17: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
   22 |         scanf("%d", &k);
      |                ~^   ~~
      |                 |   |
      |                 |   long long int*
      |                 int*
      |                %lld
/in/foo.cc:25:21: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
   25 |             scanf("%d %lld", &a, &t);
      |                    ~^        ~~
      |                     |        |
      |                     int*     long long int*
      |                    %lld
/in/foo.cc:71:17: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
   71 |         scanf("%d %d", &x, &y);
      |                ~^      ~~
      |                 |      |
      |                 int*   long long int*
      |                %lld
/in/foo.cc:71:20: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
   71 |         scanf("%d %d", &x, &y);
      |                   ~^       ~~
      |                    |       |
      |                    int*    long long int*
      |                   %lld
# 状态 耗时 内存占用
#1 Runtime Error 2ms 540.0 KiB
#2 Runtime Error 2ms 536.0 KiB
#3 Runtime Error 2ms 472.0 KiB
#4 Runtime Error 2ms 476.0 KiB
#5 Runtime Error 2ms 552.0 KiB
#6 Runtime Error 2ms 544.0 KiB
#7 Runtime Error 6ms 860.0 KiB
#8 Runtime Error 6ms 864.0 KiB
#9 Runtime Error 60ms 2.465 MiB
#10 Runtime Error 61ms 2.461 MiB
#11 Runtime Error 61ms 2.465 MiB
#12 Runtime Error 62ms 3.613 MiB
#13 Runtime Error 62ms 3.613 MiB
#14 Runtime Error 62ms 3.613 MiB
#15 Runtime Error 63ms 3.621 MiB
#16 Runtime Error 209ms 32.441 MiB
#17 Runtime Error 207ms 32.43 MiB
#18 Runtime Error 208ms 32.438 MiB
#19 Runtime Error 209ms 32.434 MiB
#20 Runtime Error 218ms 31.105 MiB
#21 Runtime Error 217ms 31.102 MiB
#22 Runtime Error 271ms 32.738 MiB
#23 Runtime Error 279ms 32.738 MiB
#24 Runtime Error 277ms 32.734 MiB
#25 Runtime Error 271ms 32.746 MiB

信息

递交者
类型
递交
题目
P3202 地铁
语言
C++
递交时间
2026-11-22 16:19:48
评测时间
2026-11-22 16:19:48
评测机
分数
0
总耗时
2834ms
峰值内存
32.746 MiB