Create 1873.cpp

This commit is contained in:
Kirigaya Kazuto 2016-10-24 17:28:54 +08:00 committed by GitHub
parent 8cd4070236
commit 696fb7e26e

19
QUSTOJ/1873.cpp Normal file
View File

@ -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;
}