hdu-2139 Calculate the formula
来源:互联网 发布:淘宝货贷 编辑:程序博客网 时间:2024/05/20 10:56
#include<stdio.h>__int64 shu[2600];int main(){ int i; shu[1]=1; for(i=3;i<2600;i+=2) shu[i]=shu[i-2]+i*i; int n; while(~scanf("%d",&n)) 这次我可以自豪的说我一次过了,足以说明我现在是有多水。。。。。。。。。这么简单的题 printf("%I64d\n",shu[n]);return 0;}
0 0
- hdu 2139 Calculate the formula
- HDU 2139 Calculate the formula
- hdu-2139 Calculate the formula
- hdu 2139 Calculate the formula
- Calculate the formula 2139
- hdu 2139 Calculate the formula (递推)
- 杭电acm 2139 Calculate the formula
- HDU2139 Calculate the formula
- HDOU2139 Calculate the formula
- HDOJ(HDU) 2139 Calculate the formula(水题,又一个用JavaAC不了的题目)
- HDU2139 Calculate the formula【水题】
- HDOJ 2139 Calculate the formula (又是一题Java A不了)
- HDU 2139 Calculate the formula公式 1^2+3^2+5^2+...+(2n-1)^2 ==n*(n+1)*(n+2)/6
- hdu 3347 Calculate the expression
- HDU 3347:Calculate the expression
- hdu 3347 Calculate the expression
- hdu 3347 Calculate the expression
- HDU 3347 Calculate the expression【模拟】
- 对MarshalByRefObject的讲解
- Python元组
- 求正整数的质因子
- hdu-2138 How many prime numbers
- Item 18: 使用srd::unique_ptr来管理独占所有权的资源
- hdu-2139 Calculate the formula
- 【剑指offer】之二叉搜索树的后序遍历序列
- Java多线程编程介绍
- 时序分析:HMM模型(状态空间)
- hdu-2035 人见人爱A^B
- react-native 布局
- Leetcode202: Maximum Product of Word Lengths
- 什么是JAVA构造方法
- ubuntu安装mongodb及配置