记录详情

Accepted

/in/foo.cc: In function 'int FindMaxs(int*, int)':
/in/foo.cc:5:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
     for(int i=0;i<n-1;i++)
     ^~~
/in/foo.cc:7:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
         cout<<a[n-1]<<endl;
         ^~~~
/in/foo.cc:8:1: warning: no return statement in function returning non-void [-Wreturn-type]
 }
 ^
# 状态 耗时 内存占用
#1 Accepted 2ms 592.0 KiB
#2 Accepted 2ms 596.0 KiB
#3 Accepted 2ms 600.0 KiB
#4 Accepted 2ms 548.0 KiB
#5 Accepted 2ms 608.0 KiB

信息

递交者
类型
递交
题目
A9-7 数组中所有极大值
比赛
2024程序设计与竞赛作业赛第一场(喜相逢)
语言
C++
递交时间
2024-10-05 21:27:01
评测时间
2024-10-05 21:27:01
评测机
分数
100
总耗时
10ms
峰值内存
608.0 KiB