Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:17:16: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   if(isprime(i)&&isprime(i+1) || isprime(i)&&isprime(i+2))
      ~~~~~~~~~~^~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 356.0 KiB
#2 Wrong Answer 1ms 376.0 KiB
#3 Accepted 1ms 344.0 KiB
#4 Accepted 1ms 404.0 KiB
#5 Accepted 1ms 376.0 KiB
#6 Accepted 1ms 364.0 KiB
#7 Accepted 2ms 368.0 KiB
#8 Accepted 6ms 416.0 KiB
#9 Accepted 146ms 416.0 KiB
#10 Accepted 384ms 428.0 KiB

信息

递交者
类型
递交
题目
P1789 孪生素数
语言
C++
递交时间
2024-07-31 20:05:20
评测时间
2024-07-31 20:05:20
评测机
分数
80
总耗时
549ms
峰值内存
428.0 KiB