3169 - 2行五星

打印两行星号,每行5个。

题目输入

题目输出

输入/输出样例

题目输入

no input needed

题目输出

*****
*****

C语言解答

#include <stdio.h>
#include <stdlib.h>
int main()
{
    printf("*****\n");
    printf("*****\n");
    // system("pause");
    return 0;
}

C++解答

#include<bits/stdc++.h>
using namespace std;
string n;
int main()
{
    //freopen(".in","r",stdin);
    //freopen(".out","w",stdout);
	cout<<"*****"<<endl<<"*****";
    return 0;
}
时间限制 1 秒
内存限制 128 MB
讨论 统计
上一题 下一题