/ XMU_ACM /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:27:30: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
             else if(s[i]=='b'&&s[j]!='d' || s[i]=='d'&&s[j]!='b' || s[i]=='p'&&s[j]!='q' || s[i]=='q'&&s[j]!='p')
                               
/in/foo.cc:27:78: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
             else if(s[i]=='b'&&s[j]!='d' || s[i]=='d'&&s[j]!='b' || s[i]=='p'&&s[j]!='q' || s[i]=='q'&&s[j]!='p')
                                                                               
/in/foo.cc:27:102: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
             else if(s[i]=='b'&&s[j]!='d' || s[i]=='d'&&s[j]!='b' || s[i]=='p'&&s[j]!='q' || s[i]=='q'&&s[j]!='p')
                                                                                                       
# 状态 耗时 内存占用
#1 Accepted 3ms 356.0 KiB
#2 Accepted 2ms 364.0 KiB

信息

递交者
类型
递交
题目
Alphabet(多组测试数据样题)
比赛
2018XMU程序设计竞赛网络预赛第一场
语言
C++
递交时间
2018-04-22 15:39:14
评测时间
2018-04-22 15:39:14
评测机
分数
100
总耗时
6ms
峰值内存
364.0 KiB