记录详情

Accepted

/in/foo.cc: In function 'void Output(int*, int)':
/in/foo.cc:7:6: warning: value computed is not used [-Wunused-value]
   a[i];
   ~~~^
/in/foo.cc:7:6: warning: statement has no effect [-Wunused-value]
/in/foo.cc: In function 'int FindiMax(int*, int)':
/in/foo.cc:12:6: warning: unused variable 'i' [-Wunused-variable]
  int i,max,m=0;
      ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:39:6: warning: unused variable 'max' [-Wunused-variable]
  int max=FindiMax(a,n);
      ^~~
# 状态 耗时 内存占用
#1 Accepted 1ms 356.0 KiB
#2 Accepted 1ms 376.0 KiB
#3 Accepted 1ms 336.0 KiB
#4 Accepted 1ms 376.0 KiB
#5 Accepted 1ms 336.0 KiB

信息

递交者
类型
递交
比赛
泰院2401程序设计基础作业赛第四场
语言
C++
递交时间
2024-11-11 17:20:42
评测时间
2024-11-11 17:20:42
评测机
分数
100
总耗时
8ms
峰值内存
376.0 KiB