← Back to List

15232번: Rectangles ↗

Solutions

C++14
156 B | 156 chars
#include <iostream>
using namespace std;
int N,M;
int main()
{
	cin>>N>>M;
	for(int y=0; y<N; y++)
	{
		for(int x=0; x<M; x++) cout<<"*";
		cout<<endl;
	}
}