记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:27:13: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   if(x1%3==0&&x1!=3||x2%3==0&&x2!=3||x1%5==0&&x1!=5||x2%5==0&&x2!=5||x1%7==0&&x1!=7||x2%7==0&&x2!=7)
      ~~~~~~~^~~~~~~
/in/foo.cc:27:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   if(x1%3==0&&x1!=3||x2%3==0&&x2!=3||x1%5==0&&x1!=5||x2%5==0&&x2!=5||x1%7==0&&x1!=7||x2%7==0&&x2!=7)
                                      ~~~~~~~^~~~~~~
/in/foo.cc:27:61: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   if(x1%3==0&&x1!=3||x2%3==0&&x2!=3||x1%5==0&&x1!=5||x2%5==0&&x2!=5||x1%7==0&&x1!=7||x2%7==0&&x2!=7)
                                                      ~~~~~~~^~~~~~~
/in/foo.cc:27:77: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   if(x1%3==0&&x1!=3||x2%3==0&&x2!=3||x1%5==0&&x1!=5||x2%5==0&&x2!=5||x1%7==0&&x1!=7||x2%7==0&&x2!=7)
                                                                      ~~~~~~~^~~~~~~
/in/foo.cc:27:93: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   if(x1%3==0&&x1!=3||x2%3==0&&x2!=3||x1%5==0&&x1!=5||x2%5==0&&x2!=5||x1%7==0&&x1!=7||x2%7==0&&x2!=7)
                                                                                      ~~~~~~~^~~~~~~
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 224.0 KiB
#2 Wrong Answer 1ms 228.0 KiB
#3 Wrong Answer 1ms 228.0 KiB
#4 Wrong Answer 1ms 224.0 KiB
#5 Wrong Answer 1ms 224.0 KiB

信息

递交者
类型
递交
题目
P1210 C4 验证哥德巴赫猜想的加式的个数
比赛
2020苏青奥赛集训营(2021-1-30课堂小练)
语言
C++
递交时间
2021-01-30 20:53:15
评测时间
2021-01-30 20:53:15
评测机
分数
0
总耗时
7ms
峰值内存
228.0 KiB