Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
109874 陈志轩 二叉树问题 C++ 通过 100 0 MS 236 KB 373 2023-11-11 11:31:06

Tests(3/3):


#include<bits/stdc++.h> #define int long long using namespace std; int a[30] = {0,1,2,5,14,42,132,429,1430,4862,16796,58786,208012,742900,2674440,9694845,35357670,129644790,477638700,1767263190,6564120420,24466267020,91482563640,343059613650,1289904147324,4861946401452}; signed main(){ long long t; while (cin>>t && t != 0){ cout<<a[t]<<'\n'; } return 0; }


测评信息: