Skip to content

Instantly share code, notes, and snippets.

@wand125
Created November 16, 2014 17:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wand125/79bfb2ef8994b3386538 to your computer and use it in GitHub Desktop.
Save wand125/79bfb2ef8994b3386538 to your computer and use it in GitHub Desktop.
PKU1517.cpp
#include <cstdio>
using namespace std;
int main(){
printf("n e\n");
printf("- -----------\n");
printf("0 1.000000000\n");
printf("1 2.000000000\n");
printf("2 2.500000000\n");
printf("3 2.666666667\n");
printf("4 2.708333333\n");
printf("5 2.716666667\n");
printf("6 2.718055556\n");
printf("7 2.718253968\n");
printf("8 2.718278770\n");
printf("9 2.718281526\n");
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment