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");
}

猜你喜欢

转载自www.cnblogs.com/lishengkangshidatiancai/p/10256061.html