Wrong Answer

foo.cc: In function 'int main()':
foo.cc:10:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   if(isprime(i) && isprime(i+1) || isprime(i) && isprime(i+2))
      ~~~~~~~~~~~^~~~~~~~~~~~~~~
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。
# 状态 耗时 内存占用
#1 Wrong Answer Read 1, expect 0. 2ms 404.0 KiB
#2 Wrong Answer Read 2, expect 1. 2ms 436.0 KiB
#3 Accepted 1ms 384.0 KiB
#4 Accepted 2ms 384.0 KiB
#5 Accepted 2ms 384.0 KiB
#6 Accepted 2ms 416.0 KiB
#7 Accepted 3ms 416.0 KiB
#8 Accepted 9ms 412.0 KiB
#9 Accepted 220ms 392.0 KiB
#10 Accepted 553ms 432.0 KiB

信息

递交者
类型
递交
题目
P1789 孪生素数
语言
C++
递交时间
2021-06-16 20:37:38
评测时间
2021-06-16 20:37:38
评测机
分数
80
总耗时
799ms
峰值内存
436.0 KiB