记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:10:29: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   10 |   if((i%2!=0&&i%3!=0&&i%5!=0&&i%7!=0||i==7||i==3||i==2||i==5)&&(j%2!=0&&j%3!=0&&j%5!=0&&j%7!=0||j==7||j==3||j==2||j==5))
      |       ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
foo.cc:10:87: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   10 |   if((i%2!=0&&i%3!=0&&i%5!=0&&i%7!=0||i==7||i==3||i==2||i==5)&&(j%2!=0&&j%3!=0&&j%5!=0&&j%7!=0||j==7||j==3||j==2||j==5))
      |                                                                 ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 384.0 KiB
#2 Wrong Answer 3d2 < 13+187=200 5d3 < 31+169= 2ms 384.0 KiB
#3 Wrong Answer 2d1 < 11+289=300 10,11d8 < 47+ 1ms 384.0 KiB
#4 Wrong Answer 2d1 < 11+989=1000 11,12d9 < 10 2ms 384.0 KiB
#5 Wrong Answer 3d2 < 19+703=722 6d4 < 73+649= 1ms 384.0 KiB

信息

递交者
类型
递交
题目
A3-4 素数专题:验证哥德巴赫猜想
比赛
2022暑期青少年社团(入门赛)
语言
C++
递交时间
2022-07-28 18:20:14
评测时间
2022-07-28 18:20:14
评测机
分数
20
总耗时
10ms
峰值内存
384.0 KiB