hdu1012】的更多相关文章

http://acm.hdu.edu.cn/showproblem.php?pid=1012 分析:就按题目给的公式一步步输出就行了. #include<stdio.h> #include<string.h> #include<stdlib.h> int main() { double e; printf("n e\n"); printf("- -----------\n"); ;n<=;n++) { ;i<=n;i+…
#include<iostream>#include<stdio.h> using namespace std; int jiechen(int n){    int i;    int ans=1;    for(i=1;i<=n;i++)        ans*=i;    return ans;} int main(){    int n,e;    int i;    cout<<"n e"<<endl;    cout&l…
2017-09-07 21:46:53 writer:pprp 写一下水题,调节一下心情~ /* @theme: hdu 1012 u calculate e @writer:pprp @begin:21:31 @end:21:47 @error:前几个应该特别的输出 @date:2017/9/7 */ #include <bits/stdc++.h> using namespace std; ]; void build() { memset(dp,,sizeof(dp)); dp[] = ;…
POJ题目分类 | POJ题目分类 | HDU题目分类 | ZOJ题目分类 | SOJ题目分类 | HOJ题目分类 | FOJ题目分类 | 模拟题: POJ1006 POJ1008 POJ1013 POJ1016 POJ1017 POJ1169 POJ1298 POJ1326 POJ1350 POJ1363 POJ1676 POJ1786 POJ1791 POJ1835 POJ1970 POJ2317 POJ2325 POJ2390 POJ1012 POJ1082 POJ1099 POJ1114…