记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:16:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             if(s.find("emo")!=-1)
                ~~~~~~~~~~~~~^~~~
/in/foo.cc:31:27: warning: comparisons like 'X<=Y<=Z' do not have their mathematical meaning [-Wparentheses]
                 if((a[i-1]>a[i]>a[i+1])||a[i-1]==a[i]==a[i+1])
                     ~~~~~~^~~~~
/in/foo.cc:31:48: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses]
                 if((a[i-1]>a[i]>a[i+1])||a[i-1]==a[i]==a[i+1])
                                          ~~~~~~^~~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 328.0 KiB
#2 Accepted 3ms 340.0 KiB
#3 Accepted 2ms 376.0 KiB
#4 Accepted 2ms 340.0 KiB
#5 Wrong Answer 2ms 344.0 KiB

信息

递交者
类型
递交
比赛
2024春 悬赏令第七周
语言
C++
递交时间
2024-05-27 16:17:42
评测时间
2024-06-01 23:17:56
评测机
分数
80
总耗时
11ms
峰值内存
376.0 KiB