#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;
}
}

POJ 2661 More articles about

  1. poj 2661 Factstone Benchmark (Stirling Count )

    // The meaning of the question is for the given x, Please n! <= 2^(2^x) One of the biggest n// Take the logarithm of the base two on both sides , Available : lg2(n!) <= 2^x 1.   log2(n!) = log2(1) + lo ...

  2. poj 2661 Factstone Benchmark

    /** Carelessness : seek m! use 2 The decimal represents how many bits there are m! = 2^n Take logarithm on both sides at the same time log2(m!) = n namely log2(1) + log2(2)+log2(3)+log2(4)...+log2(m) = ...

  3. poj and hdu Part of the basic algorithm classification and difficulty ranking

    Recently, I want to brush some basic questions from the beginning , There happens to be a website about the major oj The topic classification of (http://www.pythontip.com/acm/problemCategory), So I wrote some scripts to hdu and poj Some of the topics ...

  4. POJ 3370. Halloween treats The drawer principle / Pigeon nest principle

    Halloween treats Time Limit: 2000MS   Memory Limit: 65536K Total Submissions: 7644   Accepted: 2798 ...

  5. POJ 2356. Find a multiple The drawer principle / Pigeon nest principle

    Find a multiple Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 7192   Accepted: 3138   ...

  6. POJ 2965. The Pilots Brothers&#39; refrigerator enumeration or Explosive search or Divide and conquer

    The Pilots Brothers' refrigerator Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 22286 ...

  7. POJ 1753. Flip Game enumeration or Explosive search + Bit compression , Or Gauss elimination

    Flip Game Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 37427   Accepted: 16288 Descr ...

  8. POJ 3254. Corn Fields State compression DP ( beginner )

    Corn Fields Time Limit: 2000MS   Memory Limit: 65536K Total Submissions: 9806   Accepted: 5185 Descr ...

  9. POJ 2739. Sum of Consecutive Prime Numbers

    Sum of Consecutive Prime Numbers Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 20050 ...

Random recommendation

  1. vim The preservation of is mistaken for utf8 problem

      use vim Change the script to write ' taiyuan ':w once , And on again ,, It turned out to be a mess ... I acquiesce sql Yes, it is cp936 Of ,,, Think of the same problem as the connection of the notebook ....   You might ask me why I don't use utf8,,,, because ms200 ...

  2. SNMP Monitor some common OID Summary of

    People who do network monitoring are right SNMP I'm sure I'm familiar with the agreement , Here are some common OID explain , It's convenient for you to save the trouble of consulting relevant information . system parameter (1.3.6.1.2.1.1) OID describe remarks Request mode .1.3.6.1.2 ...

  3. Eclipse Installation and erection Maven

    Maven The specific reference books can be read :<Maven actual combat > download maven You can go to :http://maven.apache.org/ Maven Of eclipse The basic use can be seen here :http://w ...

  4. spark Use summary

    background Use spark It's been developing for months . Compared with python/hive,scala/spark Higher learning threshold . Especially when I first started , Difficult steps , Progress has been slow . But thank God , It's bitter (bi) The days of . recall one 's sufferings in the old society and contrast them with the happiness in the new , in order to ...

  5. this And base keyword

    this keyword this The keyword represents the current object , adopt this Keyword to access members of the current object .( Members of the current object : My own members + All members inherited from the parent class .) this Keywords can access : All members of this class and non members of the parent class ...

  6. Use ES6+Vue+webpack+gulp Build a new generation Web application

    1. Recommended learning sites :Vue.js China 2.Demo Environment building : 2.1 Environment configuration install nodejs Environmental Science , Specific content can be Baidu : Create a new folder : mkdir VUE-ES6-WebPack Global installation gulp: ...

  7. DBCC--CHECKDB-- Irreplaceable reasons

    CHECKSUM Two types of problems that cannot be found 1. Page error in memory , Such as memory corruption + Third party program modification, etc 2. MS SQL Server potential BUG The resulting logic error , This type of error can be fixed by re indexing or re constraining CHE ...

  8. nexus Add agent warehouse Can't find it snapshot Of jar package resolvent

    As the title , nexus Private clothes Added another Private clothes ,  But we can't find The version has snapshot Wording jar package . Environmental conditions : 1. Old private clothes : First of all, the version has snapshot Wording jar package , It's published on The old ...

  9. git Study ------> stay CenterOS Installation on system GitLab And custom domain access GitLab Manage Pages

    The company I'm working for has been using SVN As version management , Now I'm going to try from SVN Migrate to Git. Arrange me to predict and set up the relevant environment and try to use it myself Git. Today I'm trying to Center OS Installation on system GitLab, Now record a ...

  10. python3 memory management

    How to find out where there is a memory leak ? Weapons are two repositories :gc.objgraph pip install psutil pip install objgraphpip install -U memory_profi ...