/ Vijos /

记录详情

Wrong Answer

/in/foo.cc: In function 'void work()':
/in/foo.cc:13:63: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
             if(ch[p-1]==ch[p+1]||((ch[p-1]>='a'&&ch[p-1]<='z')&&(ch[p+1]>='0'&&ch[p+1]<='9')||(ch[p-1]>='0'&&ch[p-1]<='9')&&(ch[p+1]>='a'&&ch[p+1]<='z')))
                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 320.0 KiB
#2 Accepted 3ms 320.0 KiB
#3 Accepted 2ms 316.0 KiB
#4 Accepted 2ms 320.0 KiB
#5 Accepted 1ms 320.0 KiB
#6 Wrong Answer 2ms 324.0 KiB
#7 Accepted 1ms 316.0 KiB
#8 Accepted 1ms 320.0 KiB
#9 Accepted 1ms 320.0 KiB
#10 Accepted 1ms 324.0 KiB

信息

递交者
类型
递交
题目
P1379 字符串的展开
语言
C++
递交时间
2017-09-20 21:17:02
评测时间
2017-09-20 21:17:02
评测机
分数
90
总耗时
21ms
峰值内存
324.0 KiB