Skip to content

Commit 632b0bd

Browse files
Merge pull request encrypted-def#78 from wogha95/pirateturtle4
Update 2441.cpp
2 parents 751f45e + d830b02 commit 632b0bd

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

0x02/solutions/2441.cpp

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,20 @@
1-
// Authored by : BaaaaaaaaaaarkingDog
2-
// Co-authored by : -
3-
// http://boj.kr/****************
1+
// Authored by : wogha95
2+
// Co-authored by : BaaaaaaaaaaarkingDog
3+
// http://boj.kr/286ff628320c410e9e691600014cd18d
44
#include <bits/stdc++.h>
55
using namespace std;
66

77
int main(void){
88
ios::sync_with_stdio(0);
99
cin.tie(0);
1010

11-
}
11+
int N;
12+
cin >> N;
13+
14+
for(int i = 0; i < N; i++) {
15+
int j = 0;
16+
for( ; j < i; j++) cout << ' ';
17+
for( ; j < N; j++) cout << '*';
18+
cout << "\n";
19+
}
20+
}

0 commit comments

Comments
 (0)