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 fa02b18

Browse files
Merge pull request encrypted-def#77 from wogha95/pirateturtle3
Update 2440.cpp
2 parents 135b23f + f917f8f commit fa02b18

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

‎0x02/solutions/2440.cpp‎

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,18 @@
1-
// Authored by : BaaaaaaaaaaarkingDog
1+
// Authored by : wogha95
22
// Co-authored by : -
3-
// http://boj.kr/****************
3+
// http://boj.kr/541d92f7657c4d088ec50462093bbc1b
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+
for(int j = 0; j < N - i; j++) cout << '*';
16+
cout << "\n";
17+
}
18+
}

0 commit comments

Comments
(0)

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