记录详情

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 1ms 592.0 KiB
#2 Accepted 2ms 528.0 KiB
#3 Accepted 1ms 556.0 KiB
#4 Accepted 2ms 512.0 KiB
#5 Accepted 1ms 528.0 KiB

信息

递交者
类型
递交
比赛
南师大(含泰州学院)2024年新生赛(第二场之预赛)
语言
C++
递交时间
2024-08-24 23:42:01
评测时间
2024-08-24 23:42:01
评测机
分数
100
总耗时
9ms
峰值内存
592.0 KiB