Accepted

foo.cc: In function 'int fj(int, int*)':
foo.cc:15:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^
foo.cc: In function 'int findmax(int*)':
foo.cc:27:6: warning: unused variable 'cnt' [-Wunused-variable]
  int cnt=0;
      ^~~
foo.cc:35:9: warning: 'bl' may be used uninitialized in this function [-Wmaybe-uninitialized]
  return bl; 
         ^~
foo.cc: In function 'int main()':
foo.cc:45:17: warning: 'bl' may be used uninitialized in this function [-Wmaybe-uninitialized]
  cout<<findmax(n)<<endl;
                 ^
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。
# 状态 耗时 内存占用
#1 Accepted 2ms 384.0 KiB
#2 Accepted 1ms 384.0 KiB
#3 Accepted 1ms 384.0 KiB
#4 Accepted 2ms 384.0 KiB
#5 Accepted 4ms 384.0 KiB

信息

递交者
类型
递交
题目
P1085 3-1 整数中的数字
比赛
2020盛泽二中奥赛集训营(2021-4-11模拟赛)
语言
C++
递交时间
2021-04-11 13:23:37
评测时间
2021-04-11 13:23:37
评测机
分数
100
总耗时
13ms
峰值内存
384.0 KiB