记录详情

Memory Exceeded

foo.cc: In function 'int main()':
foo.cc:148:21: warning: unused variable 'deep' [-Wunused-variable]
  148 |                 int deep=1,cnt,deepest=0;
      |                     ^~~~
foo.cc:148:28: warning: unused variable 'cnt' [-Wunused-variable]
  148 |                 int deep=1,cnt,deepest=0;
      |                            ^~~
foo.cc:117:13: warning: unused variable 'deep' [-Wunused-variable]
  117 |         int deep=1,cnt,deepest=0;
      |             ^~~~
foo.cc:117:20: warning: unused variable 'cnt' [-Wunused-variable]
  117 |         int deep=1,cnt,deepest=0;
      |                    ^~~
foo.cc:124:17: warning: variable 'y' set but not used [-Wunused-but-set-variable]
  124 |         int x=0,y;
      |                 ^
foo.cc: In function 'int ifrepeat(int, int)':
foo.cc:83:1: warning: control reaches end of non-void function [-Wreturn-type]
   83 | }
      | ^
foo.cc: In function 'int main()':
foo.cc:168:28: warning: 'y' may be used uninitialized in this function [-Wmaybe-uninitialized]
  168 |         */      cout<<x*ksm(y,mod-2)%mod;
      |                         ~~~^~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Time Exceeded ≥2082ms ≥256.016 MiB
#2 Time Exceeded ≥2077ms ≥256.016 MiB
#3 Memory Exceeded ≥1729ms ≥256.016 MiB
#4 Memory Exceeded ≥1709ms ≥256.016 MiB
#5 Time Exceeded ≥2084ms ≥256.016 MiB
#6 Time Exceeded ≥2088ms ≥256.016 MiB
#7 Time Exceeded ≥2081ms ≥256.016 MiB
#8 Time Exceeded ≥2089ms ≥256.016 MiB
#9 Time Exceeded ≥2088ms ≥256.016 MiB
#10 Time Exceeded ≥2038ms ≥256.016 MiB

信息

递交者
类型
递交
题目
P1392 Problem 1D. 随机坏道
比赛
悬赏令第一周
语言
C++
递交时间
2022-10-01 23:19:29
评测时间
2022-10-01 23:19:29
评测机
分数
0
总耗时
≥20070ms
峰值内存
≥256.016 MiB