/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'bool f(student, student)':
/in/foo.cc:15:47: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   return (a.score>b.score || a.score==b.score && a.x>b.x); 
                              ~~~~~~~~~~~~~~~~~^~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:29:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   for(i=1;i<=5;i++)
   ^~~
/in/foo.cc:31:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
    return 0;
    ^~~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 384.0 KiB
#2 Accepted 3ms 256.0 KiB
#3 Accepted 1ms 372.0 KiB
#4 Accepted 1ms 384.0 KiB
#5 Accepted 2ms 384.0 KiB
#6 Accepted 3ms 256.0 KiB
#7 Wrong Answer 2ms 256.0 KiB
#8 Accepted 3ms 256.0 KiB
#9 Accepted 3ms 352.0 KiB
#10 Accepted 1ms 352.0 KiB

信息

递交者
类型
递交
题目
P1398 奖学金
语言
C++
递交时间
2017-05-13 12:30:51
评测时间
2017-05-13 12:30:51
评测机
分数
90
总耗时
23ms
峰值内存
384.0 KiB