hiho一下 第五十一周(有向图欧拉路径)51



///////////////////////////////////////////////////////////////////////////////////////////////////////

作者:tt267

声明:本文遵循下面协议自由转载-非商用-非衍生-保持署名|Creative Commons BY-NC-ND 3.0

查看本文更新与讨论请点击:http://blog.csdn.net/tt2767

链接被删请百度: CSDN tt2767

///////////////////////////////////////////////////////////////////////////////////////////////////////



比赛链接:http://hihocoder.com/contest/hiho51

题目链接(比赛结束后可用):http://hihocoder.com/problemset/problem/1182

这题注意看一下范围竟然仅仅有15个,取个巧吧:

一共就两行(头文件+主程序)直接输出结果(逃

#include<cstdio>
int main(){int n;scanf("%d",&n);switch(n){case 1:puts("01");break;case 2:puts("0110");break;case 3:puts("01011100");break;case 4:puts("0100110101111000");break;case 5:puts("01000110010100111010110111110000");break;case 6:puts("0100001100010100011100100101100110100111101010111011011111100000");break;case 7:puts("01000001100001010000111000100100010110001101000111100100110010101001011100110110011101001111101010110101111011011101111111000000");break;case 8:puts("0100000011000001010000011100001001000010110000110100001111000100010011000101010001011100011001000110110001110100011111001001010010011100101011001011010010111100110011010100110111001110110011110100111111010101011101011011010111110110111101110111111110000000");break;case 9:puts("01000000011000000101000000111000001001000001011000001101000001111000010001000010011000010101000010111000011001000011011000011101000011111000100011000100101000100111000101001000101011000101101000101111000110011000110101000110111000111001000111011000111101000111111001001001011001001101001001111001010011001010101001010111001011011001011101001011111001100111001101011001101101001101111001110101001110111001111011001111101001111111010101011010101111010110111010111011010111111011011011111011101111011111111100000000");break;case 10:puts("0100000000110000000101000000011100000010010000001011000000110100000011110000010001000001001100000101010000010111000001100100000110110000011101000001111100001000010001100001001010000100111000010100100001010110000101101000010111100001100010000110011000011010100001101110000111001000011101100001111010000111111000100010100010001110001001001000100101100010011010001001111000101001100010101010001010111000101100100010110110001011101000101111100011000110010100011001110001101001000110101100011011010001101111000111001100011101010001110111000111100100011110110001111101000111111100100100110010010101001001011100100110110010011101001001111100101001010011100101010110010101101001010111100101100110010110101001011011100101110110010111101001011111100110011010011001111001101010100110101110011011011001101110100110111110011100111010110011101101001110111100111101010011110111001111101100111111010011111111010101010111010101101101010111110101101011011110101110111010111101101011111110110110111011011111101110111110111101111111111000000000");break;case 11:puts("01000000000110000000010100000000111000000010010000000101100000001101000000011110000001000100000010011000000101010000001011100000011001000000110110000001110100000011111000001000010000010001100000100101000001001110000010100100000101011000001011010000010111100000110001000001100110000011010100000110111000001110010000011101100000111101000001111110000100001100001000101000010001110000100100100001001011000010011010000100111100001010001000010100110000101010100001010111000010110010000101101100001011101000010111110000110001100001100101000011001110000110100100001101011000011011010000110111100001110001000011100110000111010100001110111000011110010000111101100001111101000011111110001000100100010001011000100011010001000111100010010011000100101010001001011100010011001000100110110001001110100010011111000101000110001010010100010100111000101010010001010101100010101101000101011110001011001100010110101000101101110001011100100010111011000101111010001011111100011000111000110010010001100101100011001101000110011110001101001100011010101000110101110001101100100011011011000110111010001101111100011100101000111001110001110100100011101011000111011010001110111100011110011000111101010001111011100011111001000111110110001111110100011111111001001001010010010011100100101011001001011010010010111100100110011001001101010010011011100100111011001001111010010011111100101001011001010011010010100111100101010011001010101010010101011100101011011001010111010010101111100101100111001011010110010110110100101101111001011100110010111010100101110111001011110110010111110100101111111001100110110011001110100110011111001101001110011010101100110101101001101011110011011010100110110111001101110110011011110100110111111001110011110011101010100111010111001110110110011101110100111011111001111010110011110110100111101111001111101010011111011100111111011001111111010011111111101010101011010101011110101011011101010111011010101111110101101011101011011011010110111110101110111101011110111010111110110101111111101101101111011011101110110111111101110111111011110111110111111111110000000000");break;case 12:puts("0100000000001100000000010100000000011100000000100100000000101100000000110100000000111100000001000100000001001100000001010100000001011100000001100100000001101100000001110100000001111100000010000100000010001100000010010100000010011100000010100100000010101100000010110100000010111100000011000100000011001100000011010100000011011100000011100100000011101100000011110100000011111100000100000100001100000100010100000100011100000100100100000100101100000100110100000100111100000101000100000101001100000101010100000101011100000101100100000101101100000101110100000101111100000110000100000110001100000110010100000110011100000110100100000110101100000110110100000110111100000111000100000111001100000111010100000111011100000111100100000111101100000111110100000111111100001000010100001000011100001000100100001000101100001000110100001000111100001001000100001001001100001001010100001001011100001001100100001001101100001001110100001001111100001010001100001010010100001010011100001010100100001010101100001010110100001010111100001011000100001011001100001011010100001011011100001011100100001011101100001011110100001011111100001100001100010100001100011100001100100100001100101100001100110100001100111100001101000100001101001100001101010100001101011100001101100100001101101100001101110100001101111100001110001100001110010100001110011100001110100100001110101100001110110100001110111100001111000100001111001100001111010100001111011100001111100100001111101100001111110100001111111100010001000100110001000101010001000101110001000110010001000110110001000111010001000111110001001000110001001001010001001001110001001010010001001010110001001011010001001011110001001100110001001101010001001101110001001110010001001110110001001111010001001111110001010001010001110001010010010001010010110001010011010001010011110001010100110001010101010001010101110001010110010001010110110001010111010001010111110001011000110001011001010001011001110001011010010001011010110001011011010001011011110001011100110001011101010001011101110001011110010001011110110001011111010001011111110001100011010001100011110001100100110001100101010001100101110001100110010001100110110001100111010001100111110001101001010001101001110001101010010001101010110001101011010001101011110001101100110001101101010001101101110001101110010001101110110001101111010001101111110001110001110010010001110010110001110011010001110011110001110100110001110101010001110101110001110110010001110110110001110111010001110111110001111001010001111001110001111010010001111010110001111011010001111011110001111100110001111101010001111101110001111110010001111110110001111111010001111111110010010010010110010010011010010010011110010010100110010010101010010010101110010010110110010010111010010010111110010011001010010011001110010011010110010011011010010011011110010011100110010011101010010011101110010011110110010011111010010011111110010100101010010100101110010100110110010100111010010100111110010101001110010101010110010101011010010101011110010101100110010101101010010101101110010101110110010101111010010101111110010110010110011010010110011110010110100110010110101010010110101110010110110110010110111010010110111110010111001110010111010110010111011010010111011110010111100110010111101010010111101110010111110110010111111010010111111110011001100110101001100110111001100111011001100111101001100111111001101001101001111001101010101001101010111001101011011001101011101001101011111001101100111001101101011001101101101001101101111001101110101001101110111001101111011001101111101001101111111001110011101001110011111001110101011001110101101001110101111001110110101001110110111001110111011001110111101001110111111001111001111010101001111010111001111011011001111011101001111011111001111101011001111101101001111101111001111110101001111110111001111111011001111111101001111111111010101010101110101010110110101010111110101011010110101011011110101011101110101011110110101011111110101101011110101101101110101101110110101101111110101110101110110110101110111110101111011110101111101110101111110110101111111110110110110111110110111011110110111101110110111111110111011101111111011110111111011111011111111111100000000000");break;case 13:puts("01000000000001100000000001010000000000111000000000100100000000010110000000001101000000000111100000000100010000000010011000000001010100000000101110000000011001000000001101100000000111010000000011111000000010000100000001000110000000100101000000010011100000001010010000000101011000000010110100000001011110000000110001000000011001100000001101010000000110111000000011100100000001110110000000111101000000011111100000010000010000001000011000000100010100000010001110000001001001000000100101100000010011010000001001111000000101000100000010100110000001010101000000101011100000010110010000001011011000000101110100000010111110000001100001000000110001100000011001010000001100111000000110100100000011010110000001101101000000110111100000011100010000001110011000000111010100000011101110000001111001000000111101100000011111010000001111111000001000001100000100001010000010000111000001000100100000100010110000010001101000001000111100000100100010000010010011000001001010100000100101110000010011001000001001101100000100111010000010011111000001010000100000101000110000010100101000001010011100000101010010000010101011000001010110100000101011110000010110001000001011001100000101101010000010110111000001011100100000101110110000010111101000001011111100000110000110000011000101000001100011100000110010010000011001011000001100110100000110011110000011010001000001101001100000110101010000011010111000001101100100000110110110000011011101000001101111100000111000010000011100011000001110010100000111001110000011101001000001110101100000111011010000011101111000001111000100000111100110000011110101000001111011100000111110010000011111011000001111110100000111111110000100001001000010000101100001000011010000100001111000010001000100001000100110000100010101000010001011100001000110010000100011011000010001110100001000111110000100100011000010010010100001001001110000100101001000010010101100001001011010000100101111000010011000100001001100110000100110101000010011011100001001110010000100111011000010011110100001001111110000101000011000010100010100001010001110000101001001000010100101100001010011010000101001111000010101000100001010100110000101010101000010101011100001010110010000101011011000010101110100001010111110000101100011000010110010100001011001110000101101001000010110101100001011011010000101101111000010111000100001011100110000101110101000010111011100001011110010000101111011000010111110100001011111110000110000111000011000100100001100010110000110001101000011000111100001100100010000110010011000011001010100001100101110000110011001000011001101100001100111010000110011111000011010001100001101001010000110100111000011010100100001101010110000110101101000011010111100001101100010000110110011000011011010100001101101110000110111001000011011101100001101111010000110111111000011100010100001110001110000111001001000011100101100001110011010000111001111000011101000100001110100110000111010101000011101011100001110110010000111011011000011101110100001110111110000111100011000011110010100001111001110000111101001000011110101100001111011010000111101111000011111000100001111100110000111110101000011111011100001111110010000111111011000011111110100001111111110001000100011000100010010100010001001110001000101001000100010101100010001011010001000101111000100011001100010001101010001000110111000100011100100010001110110001000111101000100011111100010010001010001001000111000100100100100010010010110001001001101000100100111100010010100110001001010101000100101011100010010110010001001011011000100101110100010010111110001001100011000100110010100010011001110001001101001000100110101100010011011010001001101111000100111001100010011101010001001110111000100111100100010011110110001001111101000100111111100010100010110001010001101000101000111100010100100110001010010101000101001011100010100110010001010011011000101001110100010100111110001010100011000101010010100010101001110001010101001000101010101100010101011010001010101111000101011001100010101101010001010110111000101011100100010101110110001010111101000101011111100010110001110001011001001000101100101100010110011010001011001111000101101001100010110101010001011010111000101101100100010110110110001011011101000101101111100010111000110001011100101000101110011100010111010010001011101011000101110110100010111011110001011110011000101111010100010111101110001011111001000101111101100010111111010001011111111000110001100100011000110110001100011101000110001111100011001001010001100100111000110010100100011001010110001100101101000110010111100011001100110001100110101000110011011100011001110010001100111011000110011110100011001111110001101000111000110100100100011010010110001101001101000110100111100011010100110001101010101000110101011100011010110010001101011011000110101110100011010111110001101100101000110110011100011011010010001101101011000110110110100011011011110001101110011000110111010100011011101110001101111001000110111101100011011111010001101111111000111000111100011100100110001110010101000111001011100011100110010001110011011000111001110100011100111110001110100101000111010011100011101010010001110101011000111010110100011101011110001110110011000111011010100011101101110001110111001000111011101100011101111010001110111111000111100100100011110010110001111001101000111100111100011110100110001111010101000111101011100011110110010001111011011000111101110100011110111110001111100101000111110011100011111010010001111101011000111110110100011111011110001111110011000111111010100011111101110001111111001000111111101100011111111010001111111111001001001001100100100101010010010010111001001001101100100100111010010010011111001001010010100100101001110010010101011001001010110100100101011110010010110011001001011010100100101101110010010111011001001011110100100101111110010011001011001001100110100100110011110010011010011001001101010100100110101110010011011011001001101110100100110111110010011100101001001110011100100111010110010011101101001001110111100100111100110010011110101001001111011100100111110110010011111101001001111111100101001010110010100101101001010010111100101001100110010100110101001010011011100101001110110010100111101001010011111100101010010110010101001101001010100111100101010100110010101010101001010101011100101010110110010101011101001010101111100101011001110010101101011001010110110100101011011110010101110011001010111010100101011101110010101111011001010111110100101011111110010110010111001011001101100101100111010010110011111001011010011100101101010110010110101101001011010111100101101100110010110110101001011011011100101101110110010110111101001011011111100101110011010010111001111001011101001100101110101010010111010111001011101101100101110111010010111011111001011110011100101111010110010111101101001011110111100101111100110010111110101001011111011100101111110110010111111101001011111111100110011001110011001101011001100110110100110011011110011001110101001100111011100110011110110011001111101001100111111100110100110110011010011101001101001111100110101001110011010101011001101010110100110101011110011010110101001101011011100110101110110011010111101001101011111100110110011110011011010101001101101011100110110110110011011011101001101101111100110111001110011011101011001101110110100110111011110011011110101001101111011100110111110110011011111101001101111111100111001110110011100111101001110011111100111010011110011101010101001110101011100111010110110011101011101001110101111100111011010110011101101101001110110111100111011101010011101110111001110111101100111011111010011101111111001111001111100111101010110011110101101001111010111100111101101010011110110111001111011101100111101111010011110111111001111101010100111110101110011111011011001111101110100111110111110011111101011001111110110100111111011110011111110101001111111011100111111110110011111111101001111111111101010101010110101010101111010101011011101010101110110101010111111010101101011101010110110110101011011111010101110101101010111011110101011110111010101111101101010111111110101101011011010110101111101011011011110101101110111010110111101101011011111110101110101111010111011011101011101110110101110111111010111101101101011110111110101111101111010111111011101011111110110101111111111011011011011101101101111110110111011111011011110111101101111101110110111111111011101110111101110111111110111101111111011111011111101111111111111000000000000");break;case 14:puts("0100000000000011000000000001010000000000011100000000001001000000000010110000000000110100000000001111000000000100010000000001001100000000010101000000000101110000000001100100000000011011000000000111010000000001111100000000100001000000001000110000000010010100000000100111000000001010010000000010101100000000101101000000001011110000000011000100000000110011000000001101010000000011011100000000111001000000001110110000000011110100000000111111000000010000010000000100001100000001000101000000010001110000000100100100000001001011000000010011010000000100111100000001010001000000010100110000000101010100000001010111000000010110010000000101101100000001011101000000010111110000000110000100000001100011000000011001010000000110011100000001101001000000011010110000000110110100000001101111000000011100010000000111001100000001110101000000011101110000000111100100000001111011000000011111010000000111111100000010000001000001100000010000101000000100001110000001000100100000010001011000000100011010000001000111100000010010001000000100100110000001001010100000010010111000000100110010000001001101100000010011101000000100111110000001010000100000010100011000000101001010000001010011100000010101001000000101010110000001010110100000010101111000000101100010000001011001100000010110101000000101101110000001011100100000010111011000000101111010000001011111100000011000001000000110000110000001100010100000011000111000000110010010000001100101100000011001101000000110011110000001101000100000011010011000000110101010000001101011100000011011001000000110110110000001101110100000011011111000000111000010000001110001100000011100101000000111001110000001110100100000011101011000000111011010000001110111100000011110001000000111100110000001111010100000011110111000000111110010000001111101100000011111101000000111111110000010000010100000100000111000001000010010000010000101100000100001101000001000011110000010001000100000100010011000001000101010000010001011100000100011001000001000110110000010001110100000100011111000001001000010000010010001100000100100101000001001001110000010010100100000100101011000001001011010000010010111100000100110001000001001100110000010011010100000100110111000001001110010000010011101100000100111101000001001111110000010100001100000101000101000001010001110000010100100100000101001011000001010011010000010100111100000101010001000001010100110000010101010100000101010111000001010110010000010101101100000101011101000001010111110000010110000100000101100011000001011001010000010110011100000101101001000001011010110000010110110100000101101111000001011100010000010111001100000101110101000001011101110000010111100100000101111011000001011111010000010111111100000110000011000010100000110000111000001100010010000011000101100000110001101000001100011110000011001000100000110010011000001100101010000011001011100000110011001000001100110110000011001110100000110011111000001101000010000011010001100000110100101000001101001110000011010100100000110101011000001101011010000011010111100000110110001000001101100110000011011010100000110110111000001101110010000011011101100000110111101000001101111110000011100001100000111000101000001110001110000011100100100000111001011000001110011010000011100111100000111010001000001110100110000011101010100000111010111000001110110010000011101101100000111011101000001110111110000011110000100000111100011000001111001010000011110011100000111101001000001111010110000011110110100000111101111000001111100010000011111001100000111110101000001111101110000011111100100000111111011000001111111010000011111111100001000010001000010000100110000100001010100001000010111000010000110010000100001101100001000011101000010000111110000100010001100001000100101000010001001110000100010100100001000101011000010001011010000100010111100001000110001000010001100110000100011010100001000110111000010001110010000100011101100001000111101000010001111110000100100001100001001000101000010010001110000100100100100001001001011000010010011010000100100111100001001010001000010010100110000100101010100001001010111000010010110010000100101101100001001011101000010010111110000100110001100001001100101000010011001110000100110100100001001101011000010011011010000100110111100001001110001000010011100110000100111010100001001110111000010011110010000100111101100001001111101000010011111110000101000010100001110000101000100100001010001011000010100011010000101000111100001010010001000010100100110000101001010100001010010111000010100110010000101001101100001010011101000010100111110000101010001100001010100101000010101001110000101010100100001010101011000010101011010000101010111100001010110001000010101100110000101011010100001010110111000010101110010000101011101100001010111101000010101111110000101100001100001011000101000010110001110000101100100100001011001011000010110011010000101100111100001011010001000010110100110000101101010100001011010111000010110110010000101101101100001011011101000010110111110000101110001100001011100101000010111001110000101110100100001011101011000010111011010000101110111100001011110001000010111100110000101111010100001011110111000010111110010000101111101100001011111101000010111111110000110000110100001100001111000011000100010000110001001100001100010101000011000101110000110001100100001100011011000011000111010000110001111100001100100011000011001001010000110010011100001100101001000011001010110000110010110100001100101111000011001100010000110011001100001100110101000011001101110000110011100100001100111011000011001111010000110011111100001101000101000011010001110000110100100100001101001011000011010011010000110100111100001101010001000011010100110000110101010100001101010111000011010110010000110101101100001101011101000011010111110000110110001100001101100101000011011001110000110110100100001101101011000011011011010000110110111100001101110001000011011100110000110111010100001101110111000011011110010000110111101100001101111101000011011111110000111000011100010010000111000101100001110001101000011100011110000111001000100001110010011000011100101010000111001011100001110011001000011100110110000111001110100001110011111000011101000110000111010010100001110100111000011101010010000111010101100001110101101000011101011110000111011000100001110110011000011101101010000111011011100001110111001000011101110110000111011110100001110111111000011110001010000111100011100001111001001000011110010110000111100110100001111001111000011110100010000111101001100001111010101000011110101110000111101100100001111011011000011110111010000111101111100001111100011000011111001010000111110011100001111101001000011111010110000111110110100001111101111000011111100010000111111001100001111110101000011111101110000111111100100001111111011000011111111010000111111111100010001000101000100010001110001000100100100010001001011000100010011010001000100111100010001010011000100010101010001000101011100010001011001000100010110110001000101110100010001011111000100011000110001000110010100010001100111000100011010010001000110101100010001101101000100011011110001000111001100010001110101000100011101110001000111100100010001111011000100011111010001000111111100010010001001000101100010010001101000100100011110001001001001100010010010101000100100101110001001001100100010010011011000100100111010001001001111100010010100011000100101001010001001010011100010010101001000100101010110001001010110100010010101111000100101100110001001011010100010010110111000100101110010001001011101100010010111101000100101111110001001100010100010011000111000100110010010001001100101100010011001101000100110011110001001101001100010011010101000100110101110001001101100100010011011011000100110111010001001101111100010011100011000100111001010001001110011100010011101001000100111010110001001110110100010011101111000100111100110001001111010100010011110111000100111110010001001111101100010011111101000100111111110001010001010100010100010111000101000110010001010001101100010100011101000101000111110001010010001100010100100101000101001001110001010010100100010100101011000101001011010001010010111100010100110011000101001101010001010011011100010100111001000101001110110001010011110100010100111111000101010001110001010100100100010101001011000101010011010001010100111100010101010011000101010101010001010101011100010101011001000101010110110001010101110100010101011111000101011000110001010110010100010101100111000101011010010001010110101100010101101101000101011011110001010111001100010101110101000101011101110001010111100100010101111011000101011111010001010111111100010110001011000110100010110001111000101100100110001011001010100010110010111000101100110010001011001101100010110011101000101100111110001011010001100010110100101000101101001110001011010100100010110101011000101101011010001011010111100010110110011000101101101010001011011011100010110111001000101101110110001011011110100010110111111000101110001110001011100100100010111001011000101110011010001011100111100010111010011000101110101010001011101011100010111011001000101110110110001011101110100010111011111000101111000110001011110010100010111100111000101111010010001011110101100010111101101000101111011110001011111001100010111110101000101111101110001011111100100010111111011000101111111010001011111111100011000110011000110001101010001100011011100011000111001000110001110110001100011110100011000111111000110010001110001100100100100011001001011000110010011010001100100111100011001010011000110010101010001100101011100011001011001000110010110110001100101110100011001011111000110011001010001100110011100011001101001000110011010110001100110110100011001101111000110011100110001100111010100011001110111000110011110010001100111101100011001111101000110011111110001101000110100011110001101001001100011010010101000110100101110001101001100100011010011011000110100111010001101001111100011010100101000110101001110001101010100100011010101011000110101011010001101010111100011010110011000110101101010001101011011100011010111001000110101110110001101011110100011010111111000110110001110001101100100100011011001011000110110011010001101100111100011011010011000110110101010001101101011100011011011001000110110110110001101101110100011011011111000110111001010001101110011100011011101001000110111010110001101110110100011011101111000110111100110001101111010100011011110111000110111110010001101111101100011011111101000110111111110001110001110100011100011111000111001001010001110010011100011100101001000111001010110001110010110100011100101111000111001100110001110011010100011100110111000111001110010001110011101100011100111101000111001111110001110100100100011101001011000111010011010001110100111100011101010011000111010101010001110101011100011101011001000111010110110001110101110100011101011111000111011001010001110110011100011101101001000111011010110001110110110100011101101111000111011100110001110111010100011101110111000111011110010001110111101100011101111101000111011111110001111000111100100110001111001010100011110010111000111100110010001111001101100011110011101000111100111110001111010010100011110100111000111101010010001111010101100011110101101000111101011110001111011001100011110110101000111101101110001111011100100011110111011000111101111010001111011111100011111001001000111110010110001111100110100011111001111000111110100110001111101010100011111010111000111110110010001111101101100011111011101000111110111110001111110010100011111100111000111111010010001111110101100011111101101000111111011110001111111001100011111110101000111111101110001111111100100011111111011000111111111010001111111111100100100100101001001001001110010010010101100100100101101001001001011110010010011001100100100110101001001001101110010010011101100100100111101001001001111110010010100101100100101001101001001010011110010010101001100100101010101001001010101110010010101101100100101011101001001010111110010010110010100100101100111001001011010110010010110110100100101101111001001011100110010010111010100100101110111001001011110110010010111110100100101111111001001100100110010101001001100101110010011001101100100110011101001001100111110010011010010100100110100111001001101010110010011010110100100110101111001001101100110010011011010100100110110111001001101110110010011011110100100110111111001001110010110010011100110100100111001111001001110100110010011101010100100111010111001001110110110010011101110100100111011111001001111001010010011110011100100111101011001001111011010010011110111100100111110011001001111101010010011111011100100111111011001001111111010010011111111100101001010011001010010101010010100101011100101001011011001010010111010010100101111100101001100111001010011010110010100110110100101001101111001010011100110010100111010100101001110111001010011110110010100111110100101001111111001010100101010010111001010100110110010101001110100101010011111001010101001110010101010101100101010101101001010101011110010101011001100101010110101001010101101110010101011101100101010111101001010101111110010101100101100101011001101001010110011110010101101001100101011010101001010110101110010101101101100101011011101001010110111110010101110011100101011101011001010111011010010101110111100101011110011001010111101010010101111011100101011111011001010111111010010101111111100101100101101001011001011110010110011001100101100110101001011001101110010110011101100101100111101001011001111110010110100110100101101001111001011010100110010110101010100101101010111001011010110110010110101110100101101011111001011011001110010110110101100101101101101001011011011110010110111001100101101110101001011011101110010110111101100101101111101001011011111110010111001011100110110010111001110100101110011111001011101001110010111010101100101110101101001011101011110010111011001100101110110101001011101101110010111011101100101110111101001011101111110010111100110100101111001111001011110100110010111101010100101111010111001011110110110010111101110100101111011111001011111001110010111110101100101111101101001011111011110010111111001100101111110101001011111101110010111111101100101111111101001011111111110011001100110100110011001111001100110101010011001101011100110011011011001100110111010011001101111100110011100111001100111010110011001110110100110011101111001100111101010011001111011100110011111011001100111111010011001111111100110100110101001101001101110011010011101100110100111101001101001111110011010100111100110101010101001101010101110011010101101100110101011101001101010111110011010110011100110101101011001101011011010011010110111100110101110101001101011101110011010111101100110101111101001101011111110011011001101100111010011011001111100110110100111001101101010110011011010110100110110101111001101101101010011011011011100110110111011001101101111010011011011111100110111001111001101110101010011011101011100110111011011001101110111010011011101111100110111100111001101111010110011011110110100110111101111001101111101010011011111011100110111111011001101111111010011011111111100111001110101001110011101110011100111101100111001111101001110011111110011101001110100111110011101010101100111010101101001110101011110011101011010100111010110111001110101110110011101011110100111010111111001110110011110011101101010100111011010111001110110110110011101101110100111011011111001110111010110011101110110100111011101111001110111101010011101111011100111011111011001110111111010011101111111100111100111101001111001111110011110101010100111101010111001111010110110011110101110100111101011111001111011010110011110110110100111101101111001111011101010011110111011100111101111011001111011111010011110111111100111110011111010101100111110101101001111101011110011111011010100111110110111001111101110110011111011110100111110111111001111110101010011111101011100111111011011001111110111010011111101111100111111101011001111111011010011111110111100111111110101001111111101110011111111101100111111111101001111111111110101010101010111010101010110110101010101111101010101101011010101011011110101010111011101010101111011010101011111110101011010101101011110101011011011101010110111011010101101111110101011101011101010111011011010101110111110101011110101101010111101111010101111101110101011111101101010111111111010110101101110101101011101101011010111111010110110101110101101101101101011011011111010110111011110101101111011101011011111011010110111111110101110101111101011101101111010111011101110101110111101101011101111111010111101011110110111010111101110110101111011111101011111011011010111110111110101111110111101011111110111010111111110110101111111111101101101101111011011011101110110110111111101101110110111011111101101111011111011011111011110110111111011101101111111111011101110111110111011110111101110111111111011110111111110111110111111101111110111111111111110000000000000");break;case 15:puts("01000000000000011000000000000101000000000000111000000000001001000000000001011000000000001101000000000001111000000000010001000000000010011000000000010101000000000010111000000000011001000000000011011000000000011101000000000011111000000000100001000000000100011000000000100101000000000100111000000000101001000000000101011000000000101101000000000101111000000000110001000000000110011000000000110101000000000110111000000000111001000000000111011000000000111101000000000111111000000001000001000000001000011000000001000101000000001000111000000001001001000000001001011000000001001101000000001001111000000001010001000000001010011000000001010101000000001010111000000001011001000000001011011000000001011101000000001011111000000001100001000000001100011000000001100101000000001100111000000001101001000000001101011000000001101101000000001101111000000001110001000000001110011000000001110101000000001110111000000001111001000000001111011000000001111101000000001111111000000010000001000000010000011000000010000101000000010000111000000010001001000000010001011000000010001101000000010001111000000010010001000000010010011000000010010101000000010010111000000010011001000000010011011000000010011101000000010011111000000010100001000000010100011000000010100101000000010100111000000010101001000000010101011000000010101101000000010101111000000010110001000000010110011000000010110101000000010110111000000010111001000000010111011000000010111101000000010111111000000011000001000000011000011000000011000101000000011000111000000011001001000000011001011000000011001101000000011001111000000011010001000000011010011000000011010101000000011010111000000011011001000000011011011000000011011101000000011011111000000011100001000000011100011000000011100101000000011100111000000011101001000000011101011000000011101101000000011101111000000011110001000000011110011000000011110101000000011110111000000011111001000000011111011000000011111101000000011111111000000100000011000000100000101000000100000111000000100001001000000100001011000000100001101000000100001111000000100010001000000100010011000000100010101000000100010111000000100011001000000100011011000000100011101000000100011111000000100100001000000100100011000000100100101000000100100111000000100101001000000100101011000000100101101000000100101111000000100110001000000100110011000000100110101000000100110111000000100111001000000100111011000000100111101000000100111111000000101000001000000101000011000000101000101000000101000111000000101001001000000101001011000000101001101000000101001111000000101010001000000101010011000000101010101000000101010111000000101011001000000101011011000000101011101000000101011111000000101100001000000101100011000000101100101000000101100111000000101101001000000101101011000000101101101000000101101111000000101110001000000101110011000000101110101000000101110111000000101111001000000101111011000000101111101000000101111111000000110000011000000110000101000000110000111000000110001001000000110001011000000110001101000000110001111000000110010001000000110010011000000110010101000000110010111000000110011001000000110011011000000110011101000000110011111000000110100001000000110100011000000110100101000000110100111000000110101001000000110101011000000110101101000000110101111000000110110001000000110110011000000110110101000000110110111000000110111001000000110111011000000110111101000000110111111000000111000001000000111000011000000111000101000000111000111000000111001001000000111001011000000111001101000000111001111000000111010001000000111010011000000111010101000000111010111000000111011001000000111011011000000111011101000000111011111000000111100001000000111100011000000111100101000000111100111000000111101001000000111101011000000111101101000000111101111000000111110001000000111110011000000111110101000000111110111000000111111001000000111111011000000111111101000000111111111000001000001001000001000001011000001000001101000001000001111000001000010001000001000010011000001000010101000001000010111000001000011001000001000011011000001000011101000001000011111000001000100001000001000100011000001000100101000001000100111000001000101001000001000101011000001000101101000001000101111000001000110001000001000110011000001000110101000001000110111000001000111001000001000111011000001000111101000001000111111000001001000011000001001000101000001001000111000001001001001000001001001011000001001001101000001001001111000001001010001000001001010011000001001010101000001001010111000001001011001000001001011011000001001011101000001001011111000001001100001000001001100011000001001100101000001001100111000001001101001000001001101011000001001101101000001001101111000001001110001000001001110011000001001110101000001001110111000001001111001000001001111011000001001111101000001001111111000001010000011000001010000101000001010000111000001010001001000001010001011000001010001101000001010001111000001010010001000001010010011000001010010101000001010010111000001010011001000001010011011000001010011101000001010011111000001010100001000001010100011000001010100101000001010100111000001010101001000001010101011000001010101101000001010101111000001010110001000001010110011000001010110101000001010110111000001010111001000001010111011000001010111101000001010111111000001011000011000001011000101000001011000111000001011001001000001011001011000001011001101000001011001111000001011010001000001011010011000001011010101000001011010111000001011011001000001011011011000001011011101000001011011111000001011100001000001011100011000001011100101000001011100111000001011101001000001011101011000001011101101000001011101111000001011110001000001011110011000001011110101000001011110111000001011111001000001011111011000001011111101000001011111111000001100000111000001100001001000001100001011000001100001101000001100001111000001100010001000001100010011000001100010101000001100010111000001100011001000001100011011000001100011101000001100011111000001100100001000001100100011000001100100101000001100100111000001100101001000001100101011000001100101101000001100101111000001100110001000001100110011000001100110101000001100110111000001100111001000001100111011000001100111101000001100111111000001101000011000001101000101000001101000111000001101001001000001101001011000001101001101000001101001111000001101010001000001101010011000001101010101000001101010111000001101011001000001101011011000001101011101000001101011111000001101100001000001101100011000001101100101000001101100111000001101101001000001101101011000001101101101000001101101111000001101110001000001101110011000001101110101000001101110111000001101111001000001101111011000001101111101000001101111111000001110000101000001110000111000001110001001000001110001011000001110001101000001110001111000001110010001000001110010011000001110010101000001110010111000001110011001000001110011011000001110011101000001110011111000001110100001000001110100011000001110100101000001110100111000001110101001000001110101011000001110101101000001110101111000001110110001000001110110011000001110110101000001110110111000001110111001000001110111011000001110111101000001110111111000001111000011000001111000101000001111000111000001111001001000001111001011000001111001101000001111001111000001111010001000001111010011000001111010101000001111010111000001111011001000001111011011000001111011101000001111011111000001111100001000001111100011000001111100101000001111100111000001111101001000001111101011000001111101101000001111101111000001111110001000001111110011000001111110101000001111110111000001111111001000001111111011000001111111101000001111111111000010000100001000110000100001001010000100001001110000100001010010000100001010110000100001011010000100001011110000100001100010000100001100110000100001101010000100001101110000100001110010000100001110110000100001111010000100001111110000100010000110000100010001010000100010001110000100010010010000100010010110000100010011010000100010011110000100010100010000100010100110000100010101010000100010101110000100010110010000100010110110000100010111010000100010111110000100011000110000100011001010000100011001110000100011010010000100011010110000100011011010000100011011110000100011100010000100011100110000100011101010000100011101110000100011110010000100011110110000100011111010000100011111110000100100001010000100100001110000100100010010000100100010110000100100011010000100100011110000100100100010000100100100110000100100101010000100100101110000100100110010000100100110110000100100111010000100100111110000100101000110000100101001010000100101001110000100101010010000100101010110000100101011010000100101011110000100101100010000100101100110000100101101010000100101101110000100101110010000100101110110000100101111010000100101111110000100110000110000100110001010000100110001110000100110010010000100110010110000100110011010000100110011110000100110100010000100110100110000100110101010000100110101110000100110110010000100110110110000100110111010000100110111110000100111000110000100111001010000100111001110000100111010010000100111010110000100111011010000100111011110000100111100010000100111100110000100111101010000100111101110000100111110010000100111110110000100111111010000100111111110000101000010110000101000011010000101000011110000101000100010000101000100110000101000101010000101000101110000101000110010000101000110110000101000111010000101000111110000101001000110000101001001010000101001001110000101001010010000101001010110000101001011010000101001011110000101001100010000101001100110000101001101010000101001101110000101001110010000101001110110000101001111010000101001111110000101010000110000101010001010000101010001110000101010010010000101010010110000101010011010000101010011110000101010100010000101010100110000101010101010000101010101110000101010110010000101010110110000101010111010000101010111110000101011000110000101011001010000101011001110000101011010010000101011010110000101011011010000101011011110000101011100010000101011100110000101011101010000101011101110000101011110010000101011110110000101011111010000101011111110000101100001110000101100010010000101100010110000101100011010000101100011110000101100100010000101100100110000101100101010000101100101110000101100110010000101100110110000101100111010000101100111110000101101000110000101101001010000101101001110000101101010010000101101010110000101101011010000101101011110000101101100010000101101100110000101101101010000101101101110000101101110010000101101110110000101101111010000101101111110000101110000110000101110001010000101110001110000101110010010000101110010110000101110011010000101110011110000101110100010000101110100110000101110101010000101110101110000101110110010000101110110110000101110111010000101110111110000101111000110000101111001010000101111001110000101111010010000101111010110000101111011010000101111011110000101111100010000101111100110000101111101010000101111101110000101111110010000101111110110000101111111010000101111111110000110000110010000110000110110000110000111010000110000111110000110001000110000110001001010000110001001110000110001010010000110001010110000110001011010000110001011110000110001100010000110001100110000110001101010000110001101110000110001110010000110001110110000110001111010000110001111110000110010001010000110010001110000110010010010000110010010110000110010011010000110010011110000110010100010000110010100110000110010101010000110010101110000110010110010000110010110110000110010111010000110010111110000110011000110000110011001010000110011001110000110011010010000110011010110000110011011010000110011011110000110011100010000110011100110000110011101010000110011101110000110011110010000110011110110000110011111010000110011111110000110100001110000110100010010000110100010110000110100011010000110100011110000110100100010000110100100110000110100101010000110100101110000110100110010000110100110110000110100111010000110100111110000110101000110000110101001010000110101001110000110101010010000110101010110000110101011010000110101011110000110101100010000110101100110000110101101010000110101101110000110101110010000110101110110000110101111010000110101111110000110110001010000110110001110000110110010010000110110010110000110110011010000110110011110000110110100010000110110100110000110110101010000110110101110000110110110010000110110110110000110110111010000110110111110000110111000110000110111001010000110111001110000110111010010000110111010110000110111011010000110111011110000110111100010000110111100110000110111101010000110111101110000110111110010000110111110110000110111111010000110111111110000111000011110000111000100010000111000100110000111000101010000111000101110000111000110010000111000110110000111000111010000111000111110000111001000110000111001001010000111001001110000111001010010000111001010110000111001011010000111001011110000111001100010000111001100110000111001101010000111001101110000111001110010000111001110110000111001111010000111001111110000111010001010000111010001110000111010010010000111010010110000111010011010000111010011110000111010100010000111010100110000111010101010000111010101110000111010110010000111010110110000111010111010000111010111110000111011000110000111011001010000111011001110000111011010010000111011010110000111011011010000111011011110000111011100010000111011100110000111011101010000111011101110000111011110010000111011110110000111011111010000111011111110000111100010010000111100010110000111100011010000111100011110000111100100010000111100100110000111100101010000111100101110000111100110010000111100110110000111100111010000111100111110000111101000110000111101001010000111101001110000111101010010000111101010110000111101011010000111101011110000111101100010000111101100110000111101101010000111101101110000111101110010000111101110110000111101111010000111101111110000111110001010000111110001110000111110010010000111110010110000111110011010000111110011110000111110100010000111110100110000111110101010000111110101110000111110110010000111110110110000111110111010000111110111110000111111000110000111111001010000111111001110000111111010010000111111010110000111111011010000111111011110000111111100010000111111100110000111111101010000111111101110000111111110010000111111110110000111111111010000111111111110001000100010010001000100010110001000100011010001000100011110001000100100110001000100101010001000100101110001000100110010001000100110110001000100111010001000100111110001000101000110001000101001010001000101001110001000101010010001000101010110001000101011010001000101011110001000101100110001000101101010001000101101110001000101110010001000101110110001000101111010001000101111110001000110001010001000110001110001000110010010001000110010110001000110011010001000110011110001000110100110001000110101010001000110101110001000110110010001000110110110001000110111010001000110111110001000111000110001000111001010001000111001110001000111010010001000111010110001000111011010001000111011110001000111100110001000111101010001000111101110001000111110010001000111110110001000111111010001000111111110001001000100110001001000101010001001000101110001001000110010001001000110110001001000111010001001000111110001001001000110001001001001010001001001001110001001001010010001001001010110001001001011010001001001011110001001001100110001001001101010001001001101110001001001110010001001001110110001001001111010001001001111110001001010001010001001010001110001001010010010001001010010110001001010011010001001010011110001001010100110001001010101010001001010101110001001010110010001001010110110001001010111010001001010111110001001011000110001001011001010001001011001110001001011010010001001011010110001001011011010001001011011110001001011100110001001011101010001001011101110001001011110010001001011110110001001011111010001001011111110001001100010110001001100011010001001100011110001001100100110001001100101010001001100101110001001100110010001001100110110001001100111010001001100111110001001101000110001001101001010001001101001110001001101010010001001101010110001001101011010001001101011110001001101100110001001101101010001001101101110001001101110010001001101110110001001101111010001001101111110001001110001010001001110001110001001110010010001001110010110001001110011010001001110011110001001110100110001001110101010001001110101110001001110110010001001110110110001001110111010001001110111110001001111000110001001111001010001001111001110001001111010010001001111010110001001111011010001001111011110001001111100110001001111101010001001111101110001001111110010001001111110110001001111111010001001111111110001010001010010001010001010110001010001011010001010001011110001010001100110001010001101010001010001101110001010001110010001010001110110001010001111010001010001111110001010010001110001010010010010001010010010110001010010011010001010010011110001010010100110001010010101010001010010101110001010010110010001010010110110001010010111010001010010111110001010011000110001010011001010001010011001110001010011010010001010011010110001010011011010001010011011110001010011100110001010011101010001010011101110001010011110010001010011110110001010011111010001010011111110001010100010110001010100011010001010100011110001010100100110001010100101010001010100101110001010100110010001010100110110001010100111010001010100111110001010101000110001010101001010001010101001110001010101010010001010101010110001010101011010001010101011110001010101100110001010101101010001010101101110001010101110010001010101110110001010101111010001010101111110001010110001110001010110010010001010110010110001010110011010001010110011110001010110100110001010110101010001010110101110001010110110010001010110110110001010110111010001010110111110001010111000110001010111001010001010111001110001010111010010001010111010110001010111011010001010111011110001010111100110001010111101010001010111101110001010111110010001010111110110001010111111010001010111111110001011000101110001011000110010001011000110110001011000111010001011000111110001011001000110001011001001010001011001001110001011001010010001011001010110001011001011010001011001011110001011001100110001011001101010001011001101110001011001110010001011001110110001011001111010001011001111110001011010001110001011010010010001011010010110001011010011010001011010011110001011010100110001011010101010001011010101110001011010110010001011010110110001011010111010001011010111110001011011000110001011011001010001011011001110001011011010010001011011010110001011011011010001011011011110001011011100110001011011101010001011011101110001011011110010001011011110110001011011111010001011011111110001011100011010001011100011110001011100100110001011100101010001011100101110001011100110010001011100110110001011100111010001011100111110001011101000110001011101001010001011101001110001011101010010001011101010110001011101011010001011101011110001011101100110001011101101010001011101101110001011101110010001011101110110001011101111010001011101111110001011110001110001011110010010001011110010110001011110011010001011110011110001011110100110001011110101010001011110101110001011110110010001011110110110001011110111010001011110111110001011111000110001011111001010001011111001110001011111010010001011111010110001011111011010001011111011110001011111100110001011111101010001011111101110001011111110010001011111110110001011111111010001011111111110001100011000110010100011000110011100011000110100100011000110101100011000110110100011000110111100011000111001100011000111010100011000111011100011000111100100011000111101100011000111110100011000111111100011001000110100011001000111100011001001001100011001001010100011001001011100011001001100100011001001101100011001001110100011001001111100011001010010100011001010011100011001010100100011001010101100011001010110100011001010111100011001011001100011001011010100011001011011100011001011100100011001011101100011001011110100011001011111100011001100011100011001100100100011001100101100011001100110100011001100111100011001101001100011001101010100011001101011100011001101100100011001101101100011001101110100011001101111100011001110010100011001110011100011001110100100011001110101100011001110110100011001110111100011001111001100011001111010100011001111011100011001111100100011001111101100011001111110100011001111111100011010001101100011010001110100011010001111100011010010010100011010010011100011010010100100011010010101100011010010110100011010010111100011010011001100011010011010100011010011011100011010011100100011010011101100011010011110100011010011111100011010100011100011010100100100011010100101100011010100110100011010100111100011010101001100011010101010100011010101011100011010101100100011010101101100011010101110100011010101111100011010110010100011010110011100011010110100100011010110101100011010110110100011010110111100011010111001100011010111010100011010111011100011010111100100011010111101100011010111110100011010111111100011011000111100011011001001100011011001010100011011001011100011011001100100011011001101100011011001110100011011001111100011011010010100011011010011100011011010100100011011010101100011011010110100011011010111100011011011001100011011011010100011011011011100011011011100100011011011101100011011011110100011011011111100011011100011100011011100100100011011100101100011011100110100011011100111100011011101001100011011101010100011011101011100011011101100100011011101101100011011101110100011011101111100011011110010100011011110011100011011110100100011011110101100011011110110100011011110111100011011111001100011011111010100011011111011100011011111100100011011111101100011011111110100011011111111100011100011100100011100011101100011100011110100011100011111100011100100100100011100100101100011100100110100011100100111100011100101001100011100101010100011100101011100011100101100100011100101101100011100101110100011100101111100011100110010100011100110011100011100110100100011100110101100011100110110100011100110111100011100111001100011100111010100011100111011100011100111100100011100111101100011100111110100011100111111100011101000111100011101001001100011101001010100011101001011100011101001100100011101001101100011101001110100011101001111100011101010010100011101010011100011101010100100011101010101100011101010110100011101010111100011101011001100011101011010100011101011011100011101011100100011101011101100011101011110100011101011111100011101100100100011101100101100011101100110100011101100111100011101101001100011101101010100011101101011100011101101100100011101101101100011101101110100011101101111100011101110010100011101110011100011101110100100011101110101100011101110110100011101110111100011101111001100011101111010100011101111011100011101111100100011101111101100011101111110100011101111111100011110001111100011110010010100011110010011100011110010100100011110010101100011110010110100011110010111100011110011001100011110011010100011110011011100011110011100100011110011101100011110011110100011110011111100011110100100100011110100101100011110100110100011110100111100011110101001100011110101010100011110101011100011110101100100011110101101100011110101110100011110101111100011110110010100011110110011100011110110100100011110110101100011110110110100011110110111100011110111001100011110111010100011110111011100011110111100100011110111101100011110111110100011110111111100011111001001100011111001010100011111001011100011111001100100011111001101100011111001110100011111001111100011111010010100011111010011100011111010100100011111010101100011111010110100011111010111100011111011001100011111011010100011111011011100011111011100100011111011101100011111011110100011111011111100011111100100100011111100101100011111100110100011111100111100011111101001100011111101010100011111101011100011111101100100011111101101100011111101110100011111101111100011111110010100011111110011100011111110100100011111110101100011111110110100011111110111100011111111001100011111111010100011111111011100011111111100100011111111101100011111111110100011111111111100100100100100101100100100100110100100100100111100100100101001100100100101010100100100101011100100100101101100100100101110100100100101111100100100110010100100100110011100100100110101100100100110110100100100110111100100100111001100100100111010100100100111011100100100111101100100100111110100100100111111100100101001001100100101001010100100101001011100100101001101100100101001110100100101001111100100101010010100100101010011100100101010101100100101010110100100101010111100100101011001100100101011010100100101011011100100101011101100100101011110100100101011111100100101100101100100101100110100100101100111100100101101001100100101101010100100101101011100100101101101100100101101110100100101101111100100101110010100100101110011100100101110101100100101110110100100101110111100100101111001100100101111010100100101111011100100101111101100100101111110100100101111111100100110010011100100110010101100100110010110100100110010111100100110011001100100110011010100100110011011100100110011101100100110011110100100110011111100100110100101100100110100110100100110100111100100110101001100100110101010100100110101011100100110101101100100110101110100100110101111100100110110010100100110110011100100110110101100100110110110100100110110111100100110111001100100110111010100100110111011100100110111101100100110111110100100110111111100100111001010100100111001011100100111001101100100111001110100100111001111100100111010010100100111010011100100111010101100100111010110100100111010111100100111011001100100111011010100100111011011100100111011101100100111011110100100111011111100100111100101100100111100110100100111100111100100111101001100100111101010100100111101011100100111101101100100111101110100100111101111100100111110010100100111110011100100111110101100100111110110100100111110111100100111111001100100111111010100100111111011100100111111101100100111111110100100111111111100101001010010100111001010010101011001010010101101001010010101111001010010110011001010010110101001010010110111001010010111011001010010111101001010010111111001010011001011001010011001101001010011001111001010011010011001010011010101001010011010111001010011011011001010011011101001010011011111001010011100111001010011101011001010011101101001010011101111001010011110011001010011110101001010011110111001010011111011001010011111101001010011111111001010100101011001010100101101001010100101111001010100110011001010100110101001010100110111001010100111011001010100111101001010100111111001010101001011001010101001101001010101001111001010101010011001010101010101001010101010111001010101011011001010101011101001010101011111001010101100111001010101101011001010101101101001010101101111001010101110011001010101110101001010101110111001010101111011001010101111101001010101111111001010110010111001010110011011001010110011101001010110011111001010110100111001010110101011001010110101101001010110101111001010110110011001010110110101001010110110111001010110111011001010110111101001010110111111001010111001011001010111001101001010111001111001010111010011001010111010101001010111010111001010111011011001010111011101001010111011111001010111100111001010111101011001010111101101001010111101111001010111110011001010111110101001010111110111001010111111011001010111111101001010111111111001011001011011001011001011101001011001011111001011001100111001011001101011001011001101101001011001101111001011001110011001011001110101001011001110111001011001111011001011001111101001011001111111001011010010111001011010011011001011010011101001011010011111001011010100111001011010101011001011010101101001011010101111001011010110011001011010110101001011010110111001011010111011001011010111101001011010111111001011011001101001011011001111001011011010011001011011010101001011011010111001011011011011001011011011101001011011011111001011011100111001011011101011001011011101101001011011101111001011011110011001011011110101001011011110111001011011111011001011011111101001011011111111001011100101111001011100110011001011100110101001011100110111001011100111011001011100111101001011100111111001011101001101001011101001111001011101010011001011101010101001011101010111001011101011011001011101011101001011101011111001011101100111001011101101011001011101101101001011101101111001011101110011001011101110101001011101110111001011101111011001011101111101001011101111111001011110011011001011110011101001011110011111001011110100111001011110101011001011110101101001011110101111001011110110011001011110110101001011110110111001011110111011001011110111101001011110111111001011111001101001011111001111001011111010011001011111010101001011111010111001011111011011001011111011101001011111011111001011111100111001011111101011001011111101101001011111101111001011111110011001011111110101001011111110111001011111111011001011111111101001011111111111001100110011011001100110011101001100110011111001100110100111001100110101011001100110101101001100110101111001100110110101001100110110111001100110111011001100110111101001100110111111001100111001101001100111001111001100111010101001100111010111001100111011011001100111011101001100111011111001100111100111001100111101011001100111101101001100111101111001100111110101001100111110111001100111111011001100111111101001100111111111001101001101011001101001101101001101001101111001101001110101001101001110111001101001111011001101001111101001101001111111001101010011011001101010011101001101010011111001101010100111001101010101011001101010101101001101010101111001101010110101001101010110111001101010111011001101010111101001101010111111001101011001111001101011010101001101011010111001101011011011001101011011101001101011011111001101011100111001101011101011001101011101101001101011101111001101011110101001101011110111001101011111011001101011111101001101011111111001101100110111001101100111011001101100111101001101100111111001101101001111001101101010101001101101010111001101101011011001101101011101001101101011111001101101100111001101101101011001101101101101001101101101111001101101110101001101101110111001101101111011001101101111101001101101111111001101110011101001101110011111001101110100111001101110101011001101110101101001101110101111001101110110101001101110110111001101110111011001101110111101001101110111111001101111001111001101111010101001101111010111001101111011011001101111011101001101111011111001101111100111001101111101011001101111101101001101111101111001101111110101001101111110111001101111111011001101111111101001101111111111001110011100111010110011100111011010011100111011110011100111101010011100111101110011100111110110011100111111010011100111111110011101001110110011101001111010011101001111110011101010011110011101010101010011101010101110011101010110110011101010111010011101010111110011101011010110011101011011010011101011011110011101011101010011101011101110011101011110110011101011111010011101011111110011101100111110011101101010110011101101011010011101101011110011101101101010011101101101110011101101110110011101101111010011101101111110011101110011110011101110101010011101110101110011101110110110011101110111010011101110111110011101111010110011101111011010011101111011110011101111101010011101111101110011101111110110011101111111010011101111111110011110011110110011110011111010011110011111110011110100111110011110101010110011110101011010011110101011110011110101101010011110101101110011110101110110011110101111010011110101111110011110110101010011110110101110011110110110110011110110111010011110110111110011110111010110011110111011010011110111011110011110111101010011110111101110011110111110110011110111111010011110111111110011111001111110011111010101010011111010101110011111010110110011111010111010011111010111110011111011010110011111011011010011111011011110011111011101010011111011101110011111011110110011111011111010011111011111110011111101010110011111101011010011111101011110011111101101010011111101101110011111101110110011111101111010011111101111110011111110101010011111110101110011111110110110011111110111010011111110111110011111111010110011111111011010011111111011110011111111101010011111111101110011111111110110011111111111010011111111111110101010101010110101010101011110101010101101110101010101110110101010101111110101010110101110101010110110110101010110111110101010111010110101010111011110101010111101110101010111110110101010111111110101011010101110101011010110110101011010111110101011011010110101011011011110101011011101110101011011110110101011011111110101011101011110101011101101110101011101110110101011101111110101011110101110101011110110110101011110111110101011111010110101011111011110101011111101110101011111110110101011111111110101101011010110111101011010111011101011010111101101011010111111101011011010111101011011011011101011011011101101011011011111101011011101011101011011101101101011011101111101011011110111101011011111011101011011111101101011011111111101011101011101101011101011111101011101101101101011101101111101011101110111101011101111011101011101111101101011101111111101011110101111101011110110111101011110111011101011110111101101011110111111101011111011011101011111011101101011111011111101011111101101101011111101111101011111110111101011111111011101011111111101101011111111111101101101101101111101101101110111101101101111011101101101111111101101110110111101101110111011101101110111111101101111011111101101111101111101101111110111101101111111011101101111111111101110111011111101110111101111101110111110111101110111111111101111011110111111111011111011111111011111101111111011111111111111100000000000000");break;}return 0;}
时间: 2024-09-29 04:57:30

hiho一下 第五十一周(有向图欧拉路径)51的相关文章

hiho一下 第五十周(欧拉路径)50

/////////////////////////////////////////////////////////////////////////////////////////////////////// 作者:tt267 声明:本文遵循以下协议自由转载-非商用-非衍生-保持署名|Creative Commons BY-NC-ND 3.0 查看本文更新与讨论请点击:http://blog.csdn.net/tt2767/article/details/46493073 ////////////

hiho一下 第五十周 题目1 : 欧拉路&#183;二

时间限制:10000ms 单点时限:1000ms 内存限制:256MB 描述 在上一回中小Hi和小Ho控制着主角收集了分散在各个木桥上的道具,这些道具其实是一块一块骨牌. 主角继续往前走,面前出现了一座石桥,石桥的尽头有一道火焰墙,似乎无法通过. 小Hi注意到在桥头有一张小纸片,于是控制主角捡起了这张纸片,只见上面写着: 将M块骨牌首尾相连放置于石桥的凹糟中,即可关闭火焰墙.切记骨牌需要数字相同才能连接. ——By 无名的冒险者 小Hi和小Ho打开了主角的道具栏,发现主角恰好拥有M快骨牌. 小H

hiho一下 第五十周 欧拉路&#183;二

题目链接:click here~~ [题目大意] 时间限制:10000ms 单点时限:1000ms 内存限制:256MB 描述 在上一回中小Hi和小Ho控制着主角收集了分散在各个木桥上的道具,这些道具其实是一块一块骨牌. 主角继续往前走,面前出现了一座石桥,石桥的尽头有一道火焰墙,似乎无法通过. 小Hi注意到在桥头有一张小纸片,于是控制主角捡起了这张纸片,只见上面写着: 将M块骨牌首尾相连放置于石桥的凹糟中,即可关闭火焰墙.切记骨牌需要数字相同才能连接. --By 无名的冒险者 小Hi和小Ho打

20172324 2017-2018《程序设计与数据结构》第十一周学习总结

教材学习内容总结 Android简介 概览:android操作系统是一种多用户的Linux系统,每个应用程序作为单独的Linux进程中的一个不同的用户而运行.Android使用Java语言但是不在Java虚拟机上运行.如果想了解更多的内容,可以看看Android的构建过程 应用程序开发简介: 4种Android应用程序组件 (1) 活动(Activity):包含用户交互组件的一个窗口. (2) 服务(Service):在后台长时间运行的操作. (3) 广播接收者(Broadcast receiv

第十一周PSP&amp;进度条

PSP 一.表格: D日期     C类型 C内容 S开始时间 E结束时间 I时间间隔 T净时间(mins) 预计花费时间(mins) 11月24号 站立会议 分配任务&设计final方案 13:00 13:30 0 30 30   编写 bug修正报告 14:35 15:14 0 39 40 11月25号 站立会议 继续完成没完成任务 13:00 13:30 0 30 30   编码 新亮点 14:45 18:23 21 207 180   数据 数据收集整理 19:21 20:48 13  

20145216史婧瑶《信息安全系统设计基础》第十一周学习总结

20145216史婧瑶<信息安全系统设计基础>第十一周学习总结 教材内容总结 第八章 异常控制流 平滑:指在存储器中指令都是相邻的. 突变:出现不相邻,通常由诸如跳转.调用.和返回等指令造成. 异常控制流ECF:即这些突变. 关于ECF: 1.ECF是操作系统用来实现I/O.进程和虚拟存器的基本机制 2.应用程序通过使用一个叫做陷阱或者系统调用的ECF形式,向操作系统请求服务 3.ECF是计算机系统中实现并发的基本机制 4.软件异常机制--C++和Java有try,catch,和throw,C

20145311 《信息安全系统设计基础》第十一周学习总结

20145311 <信息安全系统设计基础>第十一周学习总结 教材学习内容总结 异常控制流 从一条指令到另外一条指令由诸如跳转.调用和返回真阳一些程序指令造成.异常控制流发生在计算机系统的各个层次,在硬件层.操作系统层.应用层都可能产生异常异常位于硬件和操作系统交界的部分异常是异常控制流的一种形式,一部分是由硬件实现的,一部分是由操作系统实现的在处理器中,状态变化称为事件处理器检测到事件时,会通过异常表进行间接过程调用,到一个专门设计用来处理这类事件的操作系统子程序.系统中为每种类型的异常都分配

20162327 《程序设计与数据结构》第十一周学习总结

20162327 2017-2018-1 <程序设计与数据结构>第十一周学习总结 教材学习内容总结 1.在无向图中,表示边的顶点对是无序的 2.如果图中的两个顶点之间有边连接,则称它们是邻接的 3.如果无向图中的连接顶点的边数达到最大,则图为完全图 4.路径是图中连接顶点的边的序列 5.有向图中,边是顶点的有序对 6.有向图中的路径是连接两个顶点的有向边的序列 7.图的每条边上都有对应的权值的图称为带权图 8.图的深度优先遍历与广度优先遍历的主要差异在于栈代替队列来管理遍历过程 9.当且仅当从

20162304 2017-2018-1 《程序设计与数据结构》第十一周学习总结

20162304 2017-2018-1 <程序设计与数据结构>第十一周学习总结 教材学习内容总结 定义哈希方法: 哈希函数的学习: 哈希表中的冲突问题: Java Collections API 实现: 教材学习中的问题和解决过程 问题1:哈希表中的冲突如何解决? 冲突问题:冲突问题是多个元素或关键字映射到表中的同一个位置. 链式方法,将哈希表看成是集合的表而不是各独立单位的表.所以每个单元中保存一个指针,指向与表中该位置相关的元素的集合. 优点: 开放地址方法:(1)线性探测法:Threa