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 328.0 KiB
#2 Wrong Answer 1ms 360.0 KiB
#3 Accepted 1ms 340.0 KiB
#4 Accepted 1ms 376.0 KiB
#5 Accepted 1ms 340.0 KiB
#6 Accepted 1ms 376.0 KiB
#7 Accepted 2ms 360.0 KiB
#8 Accepted 6ms 416.0 KiB
#9 Accepted 148ms 416.0 KiB
#10 Accepted 387ms 420.0 KiB

信息

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