题解 P4727 【[HNOI2009]图的同构记数】

2019-02-05 22:01:55


打表出奇迹

#include<iostream>
using namespace std;
int n,ans[61]={0,1,2,4,11,34,156,47,382,493,291,56,400,993,778,96,890,888,766,749,7,304,785,887,46,799,403,68,742,852,567,582,803,231,122,61,761,151,931,617,870,170,736,521,412,976,217,383,119,447,314,793,952,321,665,663,780,791,78,403,683};
int main()
{
    cin>>n;
    cout<<ans[n];
    return 0;
}