/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:15:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
   if((a[i]<=a[i-1]&&a[i]<=a[i+1])||(a[i]>=a[i-1]&&a[i]>=a[i+1]))
     ^
# 状态 耗时 内存占用
#1 Wrong Answer 2ms 256.0 KiB
#2 Wrong Answer 3ms 260.0 KiB
#3 Wrong Answer 2ms 376.0 KiB
#4 Wrong Answer 2ms 256.0 KiB
#5 Wrong Answer 21ms 976.0 KiB
#6 Wrong Answer 15ms 1.172 MiB
#7 Wrong Answer 24ms 1.055 MiB
#8 Wrong Answer 21ms 1.023 MiB
#9 Wrong Answer 15ms 1.07 MiB
#10 Wrong Answer 17ms 1.09 MiB

信息

递交者
类型
递交
题目
P1615 旅行
语言
C++
递交时间
2017-09-09 09:57:28
评测时间
2017-09-09 09:57:28
评测机
分数
0
总耗时
127ms
峰值内存
1.172 MiB