1. 程式人生 > >codeforces cf AIM tech round5(rated for div1+div2) B. Unnatural Conditions

codeforces cf AIM tech round5(rated for div1+div2) B. Unnatural Conditions

構造題,注意題目中m,n的取值範圍

#include<bits/stdc++.h>
using namespace std;
int main()
{
    int n,m;
    scanf("%d%d",&n,&m);
    for(int i=1;i<=2000;i++) 
       printf("1");
    printf("\n");
    for(int i=1;i<=1999;i++)
       printf("8");
    printf("9\n");
}