/ Vijos /

记录详情

Runtime Error

/in/foo.cc: In function 'long long int kinds(std::__cxx11::string, int)':
/in/foo.cc:7:47: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  if(sentence[start]>='3'||sentence[start]=='2'&&sentence[start+1]>'6')
                                                
/in/foo.cc:7:4: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
  if(sentence[start]>='3'||sentence[start]=='2'&&sentence[start+1]>'6')
    ^
/in/foo.cc:12:4: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
  if(sentence[start+1]=='0')
    ^
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 348.0 KiB
#2 Runtime Error 15ms 22.543 MiB
#3 Wrong Answer 2ms 468.0 KiB
#4 Wrong Answer 2ms 540.0 KiB
#5 Wrong Answer 2ms 544.0 KiB
#6 Wrong Answer 2ms 472.0 KiB
#7 Wrong Answer 2ms 528.0 KiB
#8 Wrong Answer 1ms 476.0 KiB
#9 Wrong Answer 1ms 480.0 KiB
#10 Wrong Answer 1ms 476.0 KiB

信息

递交者
类型
递交
题目
P1342 Alpha编码
语言
C++
递交时间
2020-10-31 17:24:23
评测时间
2020-10-31 17:24:23
评测机
分数
0
总耗时
32ms
峰值内存
22.543 MiB