Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

贡献个性的代码~~~~

Posted by ghostplant at 2010-05-19 21:25:33 on Problem 1426
#include <iostream>

using namespace std;

unsigned long long n,list[201]={0llu,1llu,10llu,111llu,11111111111111111100llu,10llu,1110llu,111111llu,11111111111111111000llu,111111111llu,10llu,11llu,11111111111111111100llu,111111llu,1111110llu,1110llu,11111111111111110000llu,1111111111111111llu,1111111110llu,111111111111111111llu,11111111111111111100llu,111111llu,110llu,11111111111111101001llu,111111111111111000llu,11111111111111111100llu,1111110llu,11111111111111111001llu,11111111111111111100llu,111111111111111001llu,1110llu,111111111111111llu,11111111111111100000llu,111111llu,11111111111111110llu,1111110llu,11111111111111111100llu,111llu,1111111111111111110llu,111111llu,11111111111111111000llu,11111llu,1111110llu,11111111111111001001llu,11111111111111111100llu,1111111110llu,1111111111111100010llu,11111111111110111111llu,1111111111111110000llu,11111111111111110001llu,11111111111111111100llu,1111111111111100001llu,11111111111111111100llu,1111111111111llu,11111111111111110110llu,110llu,11111111111111011000llu,111111111111111111llu,1111111111111110010llu,1111111111111110111llu,11111111111111111100llu,1111111111111100011llu,1111111111111110llu,111111111111111111llu,11111111111111000000llu,1111110llu,1111110llu,11111111111111000011llu,111111111111111100llu,111111111111110001llu,1111110llu,11111111111111001111llu,111111111000llu,11111111llu,1110llu,11111111111111111100llu,11111111111111111100llu,111111llu,1111110llu,1111111111111llu,11111111111111110000llu,11111111111111111001llu,111110llu,11111111111111111001llu,11111111111111111100llu,11111111111111110llu,11111111111100000010llu,11111111111110000101llu,1111111111111111000llu,11111111111110100001llu,1111111110llu,111111llu,11111111111111000100llu,111111111111111llu,1111111111111010110llu,1111111111111111110llu,11111111111111100000llu,11111111111100001111llu,11111111111110010llu,111111111111111111llu,11111111111111111100llu,1111llu,11111111111111000010llu,11111111111110000001llu,11111111111111011000llu,1111110llu,11111111111110llu,11111111111111001001llu,111111110100llu,11111111111111011101llu,110llu,111llu,11111111111110010000llu,111111111111111101llu,1111111111111111110llu,1111111111111100010llu,11111111111111100100llu,111111111111111111llu,11111111111111101110llu,1111111111111100001llu,111111111111111000llu,11111111111111111001llu,11111111111111000110llu,111111111111111llu,11111111111111100llu,11111111111111111000llu,1111111111111111110llu,1111111111110011llu,11111111111110000000llu,11111111111101101111llu,1111110llu,111111111110111101llu,11111111111111111100llu,111111111111111111llu,1111111111111010llu,11111111111111110110llu,1111111111111111000llu,11111111llu,1111111111111100010llu,11111111111110000111llu,11111111111111111100llu,1111111111110111llu,11111111111100001010llu,111111llu,1111111110000llu,1111111111111110010llu,111111110llu,1111111111110111111llu,11111111111111111100llu,11111111111100111llu,11111111111111111100llu,1111111111110100111llu,11111111111110011000llu,11111111111110110111llu,1111110llu,1111111111111110llu,11111111111111111100llu,1111111111101001011llu,11111111111110llu,11111111111001001101llu,11111111111111100000llu,1111111111110001001llu,11111111111111110110llu,1111111111110011llu,11111111111111100llu,1111110llu,1111111111111011110llu,1111111111110011011llu,11111111111110101000llu,11111111111110011001llu,11111111111111110llu,111111111111111111llu,1111111111100101100llu,1111111111111110101llu,111111111111010110llu,11111111111111111100llu,11111111111111110000llu,1111111111111110111llu,11111111111010000010llu,111111111111010101llu,11111111111111111100llu,1111111111111101101llu,1111110llu,11111111111100111llu,1111111111111011000llu,1110llu,1111111111111110llu,1111111111111111llu,11111111111110101100llu,1111111100001llu,1111111111111111110llu,1111111111111001011llu,111111111111000000llu,11111111111011010101llu,11111111111011010110llu,1111110llu,111111111111100100llu,11111111111111110101llu,1111111111111111110llu,11111111111110000011llu,11111111111111111000llu};

int main()
{
	n=0;
	while (cin>>n,n)
		cout<<list[n]<<endl;
	return 0;
}

Followed by:

Post your reply here:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator