Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit d830b02

Browse files
Update 2441.cpp
1 parent 0df266f commit d830b02

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

‎0x02/solutions/2441.cpp‎

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,20 @@
11
// Authored by : wogha95
2-
// Co-authored by : -
3-
// http://boj.kr/782e418bd9b44cd5aad0d2937a82e873
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+
int N;
12+
cin >> N;
13+
1114
for(int i = 0; i < N; i++) {
1215
int j = 0;
1316
for( ; j < i; j++) cout << ' ';
1417
for( ; j < N; j++) cout << '*';
1518
cout << "\n";
1619
}
17-
}
20+
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /