Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:14:27: warning: unused variable 'x' [-Wunused-variable]
  int a[10000],b[10000],na,x,nb;
                           ^
/in/foo.cc: In function 'int maxfs(int*, int)':
/in/foo.cc:10:9: warning: 'ansi' may be used uninitialized in this function [-Wmaybe-uninitialized]
  return ansi;  
         ^~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:20:21: warning: 'ansi' may be used uninitialized in this function [-Wmaybe-uninitialized]
  cout<<maxfs(a,na)<<" "<<maxfs(b,nb)<<endl; 
                     ^~~
/in/foo.cc:20:36: warning: 'ansi' may be used uninitialized in this function [-Wmaybe-uninitialized]
  cout<<maxfs(a,na)<<" "<<maxfs(b,nb)<<endl; 
                                    ^
# 状态 耗时 内存占用
#1 Accepted 2ms 204.0 KiB
#2 Accepted 1ms 224.0 KiB
#3 Accepted 1ms 220.0 KiB
#4 Accepted 1ms 224.0 KiB
#5 Accepted 1ms 204.0 KiB

信息

递交者
类型
递交
题目
P1068 A9-2 数组中最小正数的下标
比赛
2021.5.26本周数组练习(学校社团专练)
语言
C++
递交时间
2021-05-26 13:33:07
评测时间
2021-05-26 13:33:07
评测机
分数
100
总耗时
8ms
峰值内存
224.0 KiB