记录详情

Memory Exceeded

/in/foo.cc: In function 'int main()':
/in/foo.cc:8:19: warning: format '%lld' expects argument of type 'long long int*', but argument 2 has type 'int*' [-Wformat=]
    8 |         scanf("%lld",&t);
      |                ~~~^  ~~
      |                   |  |
      |                   |  int*
      |                   long long int*
      |                %d
/in/foo.cc:14:27: warning: format '%lld' expects argument of type 'long long int*', but argument 2 has type 'int*' [-Wformat=]
   14 |                 scanf("%lld%lld",&l,&r);
      |                        ~~~^      ~~
      |                           |      |
      |                           |      int*
      |                           long long int*
      |                        %d
/in/foo.cc:14:31: warning: format '%lld' expects argument of type 'long long int*', but argument 3 has type 'int*' [-Wformat=]
   14 |                 scanf("%lld%lld",&l,&r);
      |                            ~~~^     ~~
      |                               |     |
      |                               |     int*
      |                               long long int*
      |                            %d
/in/foo.cc:15:28: warning: format '%lld' expects argument of type 'long long int', but argument 2 has type '__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type' {aka 'int'} [-Wformat=]
   15 |                 printf("%lld\n",ans[r]^ans[l-1]);
      |                         ~~~^
      |                            |
      |                            long long int
      |                         %d
# 状态 耗时 内存占用
#1 Memory Exceeded ≥370ms ≥256.0 MiB
#2 Memory Exceeded ≥371ms ≥256.0 MiB
#3 Memory Exceeded ≥369ms ≥256.0 MiB
#4 Memory Exceeded ≥369ms ≥256.0 MiB
#5 Memory Exceeded ≥365ms ≥256.0 MiB

信息

递交者
类型
递交
题目
P1000 [Specter/Specter the Unchained]测试
语言
C++
递交时间
2025-03-08 19:37:53
评测时间
2025-03-08 19:37:53
评测机
分数
0
总耗时
≥1846ms
峰值内存
≥256.0 MiB