记录详情

Runtime Error

/in/foo.cc: In function 'bool f(std::__cxx11::string)':
/in/foo.cc:18:39: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   if (!(str[i] == '.' || str[i] >= '0'&&str[i] <= '9'))
                                        
/in/foo.cc:20:20: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   if (str[i] >= '0'&&str[i] <= '9'||i==n-1)
                     
# 状态 耗时 内存占用
#1 Accepted 2ms 364.0 KiB
#2 Accepted 4ms 368.0 KiB
#3 Runtime Error 3ms 380.0 KiB

信息

递交者
类型
递交
题目
合法ip
语言
C++
递交时间
2018-03-20 23:30:27
评测时间
2018-03-20 23:30:27
评测机
分数
20
总耗时
10ms
峰值内存
380.0 KiB