#include <iostream>
#include<stdio.h>
using namespace std;
int main()
{freopen("holes.in","r",stdin);
freopen("holes.out","w",stdout);
int n;
scanf("%d",&n);
int l=n/2;
int t=n%2;
if(n==0)cout<<"1"<<endl;
if(n==1)cout<<"0"<<endl;
if(n!=0&&n!=1)
{
if(t!=0)cout<<"4";
while(l)
{
cout<<"8";
l--;
}
cout<<endl;
}
return 0;
}
H - Holes (SDUT 2018 Autumn Individual Contest - H)
猜你喜欢
转载自blog.csdn.net/chen_zan_yu_/article/details/82948055
今日推荐
周排行