luyencode / comments

Server lưu trữ bình luận trên Luyện Code
https://luyencode.net
6 stars 3 forks source link

https://oj.luyencode.net/problem/PTIT001 #833

Open utterances-bot opened 1 year ago

utterances-bot commented 1 year ago

Vẽ hình chữ nhật đặc - Luyện Code Online

https://oj.luyencode.net/problem/PTIT001

danh2006 commented 1 year ago

Đây là lời giải của mình đã AC. Nếu bạn đã cố gắng mà chưa làm được thì có thể tham khảo lời giải của mình.

Xem code AC

#include using namespace std; int main(){ int n; cin >> n; for(int i=1;i<=n;i+=1){ for(int j=1;j<=n;j+=1){ cout << "*"; } cout << "\n"; } }