var
n:1..18;
ans:longint;
procedure gc(l,m,a:longint);
begin
if l<>0 then
gc(l-1,m+1,a);
if m<>0 then
gc(l,m-1,a+1);
if a=n then
inc(ans);
end;
readln(n);
ans:=0;
gc(n,0,0);
writeln(ans);
end.
快速帮助 | 运行状态 | 反馈举报 | 关于我们 | 免责声明 | 浙ICP备11060257号 Processed in 0.0036 Second(s) Copyright (C) RQNOJ 2007-2019. All Rights Reserved.