mirror of
https://github.com/Kiritow/OJ-Problems-Source.git
synced 2024-03-22 13:11:29 +08:00
Create 1873.cpp
This commit is contained in:
parent
8cd4070236
commit
696fb7e26e
19
QUSTOJ/1873.cpp
Normal file
19
QUSTOJ/1873.cpp
Normal 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;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user