Time Exceeded

foo.cc: In function 'int gy(int, int)':
foo.cc:10:9: warning: 'imax' may be used uninitialized in this function [-Wmaybe-uninitialized]
  return imax;
         ^~~~
foo.cc: In function 'int main()':
foo.cc:6:8: warning: 'imax' may be used uninitialized in this function [-Wmaybe-uninitialized]
   if(n1%i==0&&n2%i==0){
      ~~^~
foo.cc:4:6: note: 'imax' was declared here
  int imax;
      ^~~~
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。
# 状态 耗时 内存占用
#1 Time Exceeded ≥1406ms ≥360.0 KiB
#2 Time Exceeded ≥1404ms ≥384.0 KiB
#3 Time Exceeded ≥1444ms ≥340.0 KiB
#4 Time Exceeded ≥1445ms ≥324.0 KiB
#5 Time Exceeded ≥1900ms ≥496.0 KiB

信息

递交者
类型
递交
题目
P1015 亲戚(relation)
语言
C++
递交时间
2021-04-08 18:04:10
评测时间
2021-04-08 18:04:10
评测机
分数
0
总耗时
≥7600ms
峰值内存
≥496.0 KiB