mirror of
https://github.com/Kiritow/OJ-Problems-Source.git
synced 2024-03-22 13:11:29 +08:00
20 lines
269 B
C++
20 lines
269 B
C++
#include <iostream>
|
|
#include <string>
|
|
using namespace std;
|
|
|
|
int main()
|
|
{
|
|
int a,b;
|
|
string c;
|
|
cin>>a>>b>>c;
|
|
for(int i=1;i<=a;i++)
|
|
{
|
|
for(int j=0;j<b;j++)
|
|
{
|
|
cout<<c;
|
|
}
|
|
if(i-a)cout<<endl;
|
|
}
|
|
return 0;
|
|
}
|