Time Exceeded

foo.cc: In function 'int gy(int, int)':
foo.cc:5:6: warning: unused variable 'imin' [-Wunused-variable]
  int imin,imax;
      ^~~~
foo.cc:19:9: warning: 'imax' may be used uninitialized in this function [-Wmaybe-uninitialized]
  return imax;
         ^~~~
foo.cc: In function 'int main()':
foo.cc:6:2: warning: 'imax' may be used uninitialized in this function [-Wmaybe-uninitialized]
  if(n1<n2){
  ^~
foo.cc:5:11: note: 'imax' was declared here
  int imin,imax;
           ^~~~
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。
# 状态 耗时 内存占用
#1 Accepted 1ms 384.0 KiB
#2 Accepted 2ms 348.0 KiB
#3 Accepted 2ms 384.0 KiB
#4 Time Exceeded ≥1349ms ≥384.0 KiB
#5 Accepted 471ms 516.0 KiB

信息

递交者
类型
递交
题目
P1015 亲戚(relation)
语言
C++
递交时间
2021-04-07 17:45:25
评测时间
2021-04-07 17:45:25
评测机
分数
80
总耗时
≥1827ms
峰值内存
≥516.0 KiB