/ Vijos /

记录详情

Accepted

foo.cpp: In function 'int main()':
foo.cpp:12:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   if (s2>80&&s6>0) s+=8000;if (s2>85&&s3>80) s+=4000;
   ^~
foo.cpp:12:28: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
   if (s2>80&&s6>0) s+=8000;if (s2>85&&s3>80) s+=4000;
                            ^~
foo.cpp:13:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   if (s2>90) s+=2000;if (s2>85&&s5[0]=='Y') s+=1000;
   ^~
foo.cpp:13:22: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
   if (s2>90) s+=2000;if (s2>85&&s5[0]=='Y') s+=1000;
                      ^~
foo.cpp:14:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   if (s3>80&&s4[0]=='Y') s+=850;t+=s;
   ^~
foo.cpp:14:33: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
   if (s3>80&&s4[0]=='Y') s+=850;t+=s;
                                 ^
# 状态 耗时 内存占用
#1 Accepted 15ms 992.0 KiB
#2 Accepted 15ms 988.0 KiB
#3 Accepted 0ms 988.0 KiB
#4 Accepted 0ms 992.0 KiB
#5 Accepted 0ms 996.0 KiB
#6 Accepted 0ms 988.0 KiB
#7 Accepted 0ms 988.0 KiB
#8 Accepted 0ms 996.0 KiB
#9 Accepted 0ms 992.0 KiB
#10 Accepted 0ms 992.0 KiB

信息

递交者
类型
递交
题目
P1001 谁拿了最多奖学金
语言
C++
递交时间
2017-02-24 18:13:44
评测时间
2017-02-24 18:14:05
评测机
分数
100
总耗时
30ms
峰值内存
996.0 KiB