알고리즘

[알고리즘] 백준 15232 - Rectangles (C++)

blueberrysoda 2024. 11. 21. 23:55

[문제 링크] : https://www.acmicpc.net/problem/15232

#include <iostream>
using namespace std;

int main(){
    int R, C;
    cin >> R >> C;
    for(int i=0; i<R; i++){
        for(int j=0; j<C; j++){
            cout << "*";
        }
        cout << "\n";
    }  
    return 0;
}