/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:28:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   if(a[i].zf>85&&a[i].xb=='Y') a[i].ji+=1000; if(a[i].bf>80&&a[i].bgb=='Y') a[i].ji+=850;
   ^~
/in/foo.cc:28:47: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
   if(a[i].zf>85&&a[i].xb=='Y') a[i].ji+=1000; if(a[i].bf>80&&a[i].bgb=='Y') a[i].ji+=850;
                                               ^~
/in/foo.cc: In function 'int comp(const student&, const student&)':
/in/foo.cc:20:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
# 状态 耗时 内存占用
#1 Accepted 2ms 392.0 KiB
#2 Accepted 2ms 360.0 KiB
#3 Accepted 1ms 368.0 KiB
#4 Accepted 2ms 384.0 KiB
#5 Accepted 1ms 340.0 KiB
#6 Accepted 2ms 404.0 KiB
#7 Accepted 1ms 384.0 KiB
#8 Accepted 1ms 384.0 KiB
#9 Accepted 1ms 428.0 KiB
#10 Accepted 1ms 384.0 KiB

信息

递交者
类型
递交
题目
P1001 谁拿了最多奖学金
语言
C++
递交时间
2019-08-16 13:55:38
评测时间
2019-08-16 13:55:38
评测机
分数
100
总耗时
20ms
峰值内存
428.0 KiB