当前位置:网站首页>uva12326
uva12326
2022-08-01 05:20:00 【Knife stabs the bear】
oeis(Integer Sequence Database)
#include <iostream>
#include <istream>
#include <sstream>
#include <vector>
#include <stack>
#include <list>
#include <map>
#include <set>
#include <deque>
#include <queue>
#include <cstring>
#include <unordered_map>
#include <unordered_set>
#include <algorithm>
#include <numeric>
#include <chrono>
#include <ctime>
#include <cmath>
#include <cctype>
#include <string>
#include <cstdio>
#include <iomanip>
#include <thread>
#include <mutex>
#include <condition_variable>
#include <functional>
#include <iterator>
using namespace std;
int a[20] = {
0,1,1,1,4,6,19,43,120,307,866,2336,6588,18373,52119,147700,422016 };
int main()
{
int n;
cin >> n;
for (int i = 1; i <= n; i++)
{
int x;
cin >> x;
cout << "Case #" << i << ": " << a[x] << endl;
}
return 0;
}
边栏推荐
- 华为Android开发面试后得出的面试秘诀
- Swastika line-by-line parsing and realization of the Transformer, and German translation practice (a)
- JWL-11/2-99.9A电流继电器
- 万字逐行解析与实现Transformer,并进行德译英实战(一)
- MySQL Practice Summary -
- torch
- LeetCode 231. 2 的幂
- 万字逐行解析与实现Transformer,并进行德译英实战(三)
- Selenium:表单切换
- 56:第五章:开发admin管理服务:9:开发【文件上传到,MongoDB的GridFS中,接口】;(把文件上传到GridFS的SOP)
猜你喜欢

可持久化线段树

2022.7.26 模拟赛

leetcode43 string multiplication

pytroch、tensorflow对比学习—搭建模型范式(低阶、中阶、高阶API示例)

DL-31/6电流继电器

USB3.0:VL817Q7-C0的LAYOUT指南(三)

类神经网络训练不起来怎么办

Malicious attacks on mobile applications surge by 500%

Induction jian hai JustFE 2022/07/29 team, I learned the efficient development summary (years)

Robot_Framework: Assertion
随机推荐
Robot_Framework:关键字
MySQL-数据定义语言-DDLdatebase define language
vim configuration + ctag is as easy to read code as source insight
字符中的第一个唯一字符
vsce package 后出现 Command failed: npm list --production --parseable --depth=99999 --loglevel=error异常
(2022 Niu Ke Duo School IV) N-Particle Arts (Thinking)
中国的机器人增长
PAT serie b write the number 1002
(2022 Nioke Duo School IV) D-Jobs (Easy Version) (3D prefix or)
Selenium:元素等待
Robot_Framework:常用内置关键字
leetcode125 验证回文串
What should I do if the neural network cannot be trained?
Robot_Framework: Assertion
MySQL-DML语言-数据库操作语言-insert-update-delete-truncate
Seleniu: Common operations on elements
leetcode43 字符串相乘
混合型界面:对话式UI的未来
MySQL-数据操作-分组查询-连接查询-子查询-分页查询-联合查询
Selenium:表单切换