#include<iostream>
#include<stdio.h>
using namespace std; int main()
{
//freopen("acm.acm","r",stdin);
int a[] = {,,,,,,,,,,,,,,,,,,,,};
int num;
while(cin>>num,num)
{
num -= ;
num /= ;
cout<<a[num]<<endl;
}
}
相关文章
- bzoj 1705;poj 3612:[Usaco2007 Nov]Telephone Wire 架设电话线
- poj 1180 斜率优化dp
- 《挑战程序设计竞赛》2.3 动态规划-优化递推 POJ1742 3046 3181
- poj1182食物链_并查集_挑战程序设计竞赛例题
- 挑战程序竞赛 反转开关 poj3276
- 01分数规划POJ3621(最优比例生成环)
- poj2488--A Knight's Journey(dfs,骑士问题)
- 【POJ3071】Football - 状态压缩+期望 DP
- poj1151 Atlantis (线段树+扫描线+离散化)
- 专题复习--背包问题+例题(HDU 2602 、POJ 2063、 POJ 1787、 UVA 674 、UVA 147)