/ Vijos /

记录详情

Wrong Answer

foo.cc: In function ‘int main(int, char**)’:
foo.cc:36:18: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
   36 | if((w==21||l==21)&&abs(w-l)>=2||(w>21||l>21)&&abs(w-l)==2)
      |    ~~~~~~~~~~~~~~^~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Wrong Answer Read 0:0, expect 51/22. 2ms 536.0 KiB
#2 Wrong Answer Read 0:0, expect [8;9,1,152414,1,8]. 2ms 324.0 KiB
#3 Wrong Answer Read 0:0, expect 470832/195025. 3ms 324.0 KiB
#4 Wrong Answer Read 0:0, expect 7937/1393. 2ms 536.0 KiB
#5 Wrong Answer Read 0:0, expect 1. 2ms 536.0 KiB

信息

递交者
类型
递交
题目
P1696 数与连分数
语言
C++
递交时间
2024-08-18 05:16:03
评测时间
2024-08-18 05:16:03
评测机
分数
0
总耗时
14ms
峰值内存
536.0 KiB