记录详情

Wrong Answer

/in/foo.cc: In function 'int Getstep(std::__cxx11::string)':
/in/foo.cc:38:41: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
    else if ((i + 2) < t&&step_of_3 != 0 &&
             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
     (s[i] == ' '&&s[i + 1] == ' '&&s[i + 2] == ' ')
     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc:52:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
    else if ((i + 1) < t && (s[i] == ' '&&s[i + 1] == ' ')
             ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc:58:46: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
    else if (s[i] == ' ' || s[i] == '_'&&i+1<t&&s[i+1]!=' '||i-1>-1&&s[i]=='_'&&s[i-1]!=' ')
                                               
/in/foo.cc:58:78: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
    else if (s[i] == ' ' || s[i] == '_'&&i+1<t&&s[i+1]!=' '||i-1>-1&&s[i]=='_'&&s[i-1]!=' ')
                                                             ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Wrong Answer 3ms 384.0 KiB

信息

递交者
类型
递交
题目
跳跳跳跳
语言
C++
递交时间
2018-02-01 17:43:12
评测时间
2018-02-01 17:43:12
评测机
分数
0
总耗时
3ms
峰值内存
384.0 KiB