Create 1873.cpp
parent
8cd4070236
commit
696fb7e26e
|
@ -0,0 +1,19 @@
|
|||
#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;
|
||||
}
|
Loading…
Reference in New Issue